i can display values in xml in <p> </P> but i wanted to display in input type = text
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
1
回复
5346
查看
Hi,
To display value inside a input field, you can use t-att-value
See the sample,
<input type="text" class="form-control o_website_form_input" name="contact_name" t-att-value="request.params.get('contact_name', '')" required=""/>
Thanks
Niyas Bhai Thank You problem solved
Hello Niyas, Input field value how to assign or t-set to variable. Input value each time changing after clicking next and prev button, js onclick function updating input value, but unable to assign variable or display in t-esc.
相关帖文 | 回复 | 查看 | 活动 | |
---|---|---|---|---|
|
2
8月 25
|
2634 | ||
|
1
7月 25
|
1025 | ||
|
1
8月 25
|
1151 | ||
|
0
5月 25
|
1482 | ||
|
2
4月 25
|
3632 |