コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
1871 ビュー

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

アバター
破棄