Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
5468 มุมมอง

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

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
มิ.ย. 24
1727
1
ธ.ค. 23
1431
1
เม.ย. 23
1588
1
มี.ค. 23
2443
0
ธ.ค. 22
2029