Skip to Content
Menu
This question has been flagged
1 Atsakyti
8978 Rodiniai

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.

Portretas
Atmesti
Best Answer

Hi Rihenne,

Please try this one..

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

Hope this will help......

Regards

Portretas
Atmesti
Autorius

It is not working !!!!!

Sorry for the trouble, Answer updated

Related Posts Replies Rodiniai Veikla
3
rugs. 23
21214
1
kov. 21
5048
2
spal. 20
13095
0
geg. 17
2575
0
geg. 22
2352