Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
8998 Prikazi

Hello Community;

Need Your help to know how to set an option as default value in a select in a qweb template.

I have tried this but it did not work:

option t-att-value="1" t-att-selected="1"

option t-att-value="2" 

option t-att-value="3"

But it is not working.

Need your help please.

Thanks a lot in advance.

Avatar
Opusti
Best Answer

Hi Rihenne,

Please try this one..

<option value="your_value" selected="true">Your String</options>

Hope this will help......

Regards

Avatar
Opusti
Avtor

It is not working !!!!!

Sorry for the trouble, Answer updated

Related Posts Odgovori Prikazi Aktivnost
3
sep. 23
21267
1
mar. 21
5067
2
okt. 20
13157
0
maj 17
2585
0
maj 22
2369