Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
8981 Ansichten

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
Verwerfen
Beste Antwort

Hi Rihenne,

Please try this one..

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

Hope this will help......

Regards

Avatar
Verwerfen
Autor

It is not working !!!!!

Sorry for the trouble, Answer updated

Verknüpfte Beiträge Antworten Ansichten Aktivität
3
Sept. 23
21217
1
März 21
5048
2
Okt. 20
13096
0
Mai 17
2575
0
Mai 22
2353