Is there a way to disable all components in the form without looping through all the components in the form and later enabling just one component inside that form. I can disable all the components using the below
{view: “form”, id:“customerForm”, disabled:true, borderless:true},
but enabling one of the component is not working. Can anyone please suggest?
Disabling/enabling the parent view (form as well) affects the entire layout. So you really need to iterate through the components and disable/enable the needed ones.
They are always available viagetChildViews() as an array or viaform.elements as an object withname:obj key-value pair (form only feature).