Skip to Content
Menu
This question has been flagged
1 Atsakyti
10067 Rodiniai

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

Please help here

Portretas
Atmesti
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
Portretas
Atmesti
Autorius

Thank you

Related Posts Replies Rodiniai Veikla
2
birž. 24
1766
1
gruod. 23
1495
1
bal. 23
1615
1
kov. 23
2478
0
gruod. 22
2042