how to disable/enable fields in field editor ?

  • 1
  • Question
  • Updated 3 years ago
  • Answered
I have a field editor which has checkbox field (ui-only field)
When this checkbox is checked, I would like to disable fields in field editor (I have input text fields and picklist fields as well)

I gave a dummy css name to fields in field editor .

and tried something like :

                console.log('disabled . . .');

This didn't work.

Any ideas ?

Thank You.
Photo of Kvin Cloud

Kvin Cloud

  • 282 Points 250 badge 2x thumb

Posted 3 years ago

  • 1
Photo of Vivek Gupta

Vivek Gupta

  • 378 Points 250 badge 2x thumb
You can give a try to this  -

skuid.$('<style>.ca {display: none}</style>').appendTo('head');