跳至內容
選單
此問題已被標幟
1 回覆
1883 瀏覽次數

I want to hide char field when another Boolean field is clicked true?

HOw to do this?

<field name="x_studio_code_reference" attrs="{'invisible': [('x_studio_is_an_asset','=','True')]}" />

I used this but nothing happen.

please help me

頭像
捨棄
最佳答案

Hi,

Update the code like this by removing inverted coma from 'True' ,

<field name="x_studio_code_reference" attrs="{'invisible': [('x_studio_is_an_asset','=', True)]}" />

Thanks

頭像
捨棄