Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
10075 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Autor

Thank you

Related Posts Odpovědi Zobrazení Aktivita
2
čvn 24
1767
1
pro 23
1495
1
dub 23
1616
1
bře 23
2479
0
pro 22
2042