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

Hello, I not sure how to code this where it need to be invisible base on either of 2 conditions:

attrs="{'invisible': ['|', ('load', '=', True), ('project_name', 'not in', 'Field Service')]}"/>


Version = 17.0 enterprise

Can any please help?

Thank you very much!!

아바타
취소
베스트 답변

Hi,
You can write it follows:  

invisible="load == True or project_name not in 'Field Service'"


Thanks

아바타
취소
작성자

Perfect! thank you!!!

This is wrong, it should be (according to you old condition)

Niyas Raphy (Walnut IT)
1 giờ trước
Câu trả lời hay nhất
Hi,
You can write it follows:

invisible="load == True or project_name not in 'Field Service'"

ah i have wrongly written as and, changed to or

작성자

Thank all, Yes, I realized it should be "or" and make the adjustment. Very much appreciate your help.

베스트 답변

Previous answer is wrong, it should be (according to you old condition)


invisible="load == True or project_name not in 'Field Service'"

아바타
취소
관련 게시물 답글 화면 활동
0
10월 25
1
0
10월 25
2
0
9월 25
2
0
9월 25
1
0
2월 25
913