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

if    <t t-if="savedvalue "> is null input field will not show  but 

i want to show the input field even if  savedvalue  is null


<t t-if=" savedvalue ">

<input type="text"  name="name"  t-att-value="savedvalue.name"  />

</t>

形象
丢弃
编写者 最佳答案

In genral case where  t-att-value="savedvalue.name" />.  Value is null.  We cannot see html input field 


but i want to display html input field even if value is null

形象
丢弃
相关帖文 回复 查看 活动
2
6月 24
1529
1
12月 23
1251
1
4月 23
1434
1
3月 23
2267
0
12月 22
1847