Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
5483 Представления

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
1735
1
дек. 23
1445
1
апр. 23
1590
1
мар. 23
2452
0
дек. 22
2031