Skip to Content
Menú
This question has been flagged
1 Respondre
8972 Vistes

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
Descartar
Best Answer

Hi Rihenne,

Please try this one..

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

Hope this will help......

Regards

Avatar
Descartar
Autor

It is not working !!!!!

Sorry for the trouble, Answer updated

Related Posts Respostes Vistes Activitat
3
de set. 23
21207
1
de març 21
5040
2
d’oct. 20
13094
0
de maig 17
2575
0
de maig 22
2350