跳至內容
選單
此問題已被標幟
1 回覆
8993 瀏覽次數

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.

頭像
捨棄
最佳答案

Hi Rihenne,

Please try this one..

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

Hope this will help......

Regards

頭像
捨棄
作者

It is not working !!!!!

Sorry for the trouble, Answer updated

相關帖文 回覆 瀏覽次數 活動
3
9月 23
21262
1
3月 21
5063
2
10月 20
13138
0
5月 17
2583
0
5月 22
2366