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

How can I define attributes in a .py with a field different than state?

Inside a .py I can tell a field to be readonly if their state is for example draft:

'name': fields.char( 'Name', readonly=True, states={'draft': [('readonly', False)]}),

how can i do this with a field different to state, for example a boolean 'manual'?

아바타
취소
관련 게시물 답글 화면 활동
2
8월 25
1316
0
3월 25
1536
4
4월 24
174417
0
12월 23
2302
5
7월 25
228653