Gets the required state of the control.
var textarea = ix.api.dom.getControl("<ELEMENT-GUID>");
textarea.required;
Sets the required state of the control.
var textarea = ix.api.dom.getControl("<ELEMENT-GUID>");
textarea.required = <true|false>;
Checks the elements validity.
const validityResult = await ix.api.dom.getControl("<ELEMENT-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.api.dom.getControl("<ELEMENT-GUID>");
textarea.setValue("my value");
Represents a multiline text input control.
There is no limit on the input length, allowing for extensive text entries. This control is ideal for scenarios where users may need to provide detailed information, such as comments or descriptions.