We have multiple field elements within formcontainers in a form.
I want to disable all the field elements within the form to be disabled on click of a button.
I tried.
sap.ui.core().getElementById("FormID").setenabled(false); This didnt work.
neither sap.ui.core().getElementById("FormContainerID").setenabled(false);
Kindly let me know how can we disable the elements through either form or formContainer.