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

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

Please help here

Avatar
Discard
Best Answer

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
Avatar
Discard
Author

Thank you

Related Posts Replies Views Activity
2
Jun 24
489
1
Dec 23
574
1
Apr 23
668
1
Mar 23
1250
0
Dec 22
1137