跳至内容
菜单
此问题已终结
1 回复
10090 查看

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
1502
1
4月 23
1630
1
3月 23
2482
0
12月 22
2049