Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
702 Lượt xem

Hi.


I have a boolean field in tasks and i im trying to make my card background red when the boolean it true

here is my code but it doesnt work:


(record.x_studio_quality_check.value == '1') and 'background-color: #0adbf4;' or 'background-color:#ffffff;'


any help would be appreciated 

Ảnh đại diện
Huỷ bỏ