콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
5498 화면

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 

아바타
취소
작성자 베스트 답변

                <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

 

 

아바타
취소
관련 게시물 답글 화면 활동
0
8월 20
2918
0
2월 18
3254
0
9월 17
4002
2
11월 15
545
1
2월 24
11812