コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
8987 ビュー

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
21225
1
3月 21
5050
2
10月 20
13103
0
5月 17
2575
0
5月 22
2356