Odoo Help

0

Get a value of input field widget using JavaScript help?

By
salman
on 3/1/15, 2:20 AM 1,193 views

I want create one input field and give a class as widget and get a value of it using javascript. this widget used more than once 

0
salman
On 3/1/15, 6:22 AM

                <input t-att-type="widget.password ? 'password' : 'text'"
                    t-att-id="widget.id_for_label"
                    t-att-tabindex="widget.node.attrs.tabindex"
                    t-att-autofocus="widget.node.attrs.autofocus"
                    t-att-placeholder="widget.node.attrs.placeholder"
                    t-att-maxlength="widget.field.size"
                    name="kladr_city"
                />

 t-att-id="widget.id_for_label" what is the meaning of this line

 

 

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 3/1/15, 2:20 AM
Seen: 1193 times
Last updated: 3/16/15, 8:10 AM