Skip to Content
Menu
This question has been flagged
1 Reply
8992 Views

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
Discard
Best Answer

Hi Rihenne,

Please try this one..

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

Hope this will help......

Regards

Avatar
Discard
Author

It is not working !!!!!

Sorry for the trouble, Answer updated

Related Posts Replies Views Activity
3
Sep 23
21260
1
Mar 21
5063
2
Oct 20
13134
0
May 17
2583
0
May 22
2364