var textarea = ix.util.getUp("<GUID>");
textarea.required;
Sets the required state of the control.
var textarea = ix.util.getUp("<GUID>");
textarea.required = <true|false>;
Checks the elements validity.
const validityResult = await ix.util.getUp("<GUID>").checkValidity();
// example of `validityResult` - the entered value has wrong format
ValidationInfo {
valStatus: false,
valMessage: 'The field must not be empty.',
valType: 'required'
}
Sets the value of the control.
Optional
settings: { var textarea = ix.util.getUp("<GUID>");
textarea.setValue("my value");
Gets the required state of the control.