İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
8983 Görünümler

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
Vazgeç
En İyi Yanıt

Hi Rihenne,

Please try this one..

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

Hope this will help......

Regards

Avatar
Vazgeç
Üretici

It is not working !!!!!

Sorry for the trouble, Answer updated

İlgili Gönderiler Cevaplar Görünümler Aktivite
3
Eyl 23
21224
1
Mar 21
5049
2
Eki 20
13100
0
May 17
2575
0
May 22
2356