Skip to content

FormUtil bulk method setDisabled

Compare
Choose a tag to compare
@nsteenbeek nsteenbeek released this 20 Jan 09:51
· 745 commits to master since this release

FormUtil.setDisabled

Form controls support setDisabled (executionContext.getFormContext().getControl(attr1).setDisabled(true/false).
On a form you may want to do it in a bulk way. This is possible using the FormUtil class.

    FormUtil.setDisabled(executionContext, true/false, [attr1, attt2, attr3, etc]);