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

There is no way for me to hide a field in the method fields_view_get, I tried all the possible ways to set invisible to the field, none of them worked (attrs, modifiers, invisible directly, invisible inside the tag.)

            for node in doc.xpath("//field[starts-with(@name, 'module_')]"):
                node.set('invisible', '1')  //don't work
                node.set('attrs', '{"invisible": 1 }') //don't work

What is my mistake here?

 

 

아바타
취소
베스트 답변

Refer the LInk may be help you.

아바타
취소
관련 게시물 답글 화면 활동
1
12월 17
7699
2
11월 16
6511
1
9월 15
5184
3
8월 15
9340
1
7월 15
8723