Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
8976 Widoki

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.

Awatar
Odrzuć
Najlepsza odpowiedź

Hi Rihenne,

Please try this one..

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

Hope this will help......

Regards

Awatar
Odrzuć
Autor

It is not working !!!!!

Sorry for the trouble, Answer updated

Powiązane posty Odpowiedzi Widoki Czynność
3
wrz 23
21214
1
mar 21
5047
2
paź 20
13094
0
maj 17
2575
0
maj 22
2352