Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
8991 Visninger

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
Kassér
Bedste svar

Hi Rihenne,

Please try this one..

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

Hope this will help......

Regards

Avatar
Kassér
Forfatter

It is not working !!!!!

Sorry for the trouble, Answer updated

Related Posts Besvarelser Visninger Aktivitet
3
sep. 23
21244
1
mar. 21
5056
2
okt. 20
13122
0
maj 17
2581
0
maj 22
2361