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

I can display t-att-value="aaa"  this in input type text   
but in <select> </select>  i am unable to display

Please help here

頭像
捨棄
最佳答案

I think you want to do as follow:

<select>
    <option value=""/>
    <option t-att-value="your_field_name">
        <t t-esc="your_field_name"/>
    </option>
</select>

You can take the reference from website_sale module.

Sudhir Arya
ERP Harbor Consulting Services
s:sudhir@erpharbor.com  w: http://www.erpharbor.com
頭像
捨棄
作者

Thank you

相關帖文 回覆 瀏覽次數 活動
2
6月 24
1774
1
12月 23
1500
1
4月 23
1628
1
3月 23
2482
0
12月 22
2048