跳至內容
選單
此問題已被標幟
1 回覆
5496 瀏覽次數

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
1749
1
12月 23
1475
1
4月 23
1597
1
3月 23
2462
0
12月 22
2033