Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
2 Ответы
2621 Представления

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'"

Аватар
Отменить
Related Posts Ответы Просмотры Активность
0
февр. 25
835
2
окт. 24
3777
1
июн. 19
6048
1
янв. 17
3904
0
мар. 15
5228