The form element to modify.
disabled attribute (e.g., button, input, select, textarea, optgroup, option, fieldset).The desired disabled state.
true to disable the elementfalse to enable itIf the provided element is null, undefined, or does not support the disabled attribute.
MDN Documentation for HTMLInputElement.disabled
// Get a element by its GUID
const element = ix.api.dom.getHtml("<ELEMENT-GUID>");
// Disable the element
ix.api.dom.setDisabled(element, true);
// Enable the element
ix.api.dom.setDisabled(element, false);
Modifies the disabled state of a form element.