Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
8982 Visualizzazioni

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
Abbandona
Risposta migliore

Hi Rihenne,

Please try this one..

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

Hope this will help......

Regards

Avatar
Abbandona
Autore

It is not working !!!!!

Sorry for the trouble, Answer updated

Post correlati Risposte Visualizzazioni Attività
3
set 23
21221
1
mar 21
5049
2
ott 20
13097
0
mag 17
2575
0
mag 22
2353