Required textarea and null value

If I have textarea with required value, and initial value is null, then validate function returns success.

Sample is there: https://snippet.dhtmlx.com/74ixpjk1

replacing textarea’s getValue method from:

getValue() {
  return typeof this.config.value === "undefined" ? "" : String(this.config.value);
}

to:

getValue() {
  if (this.config.value === null) return this.config.value;
  return typeof this.config.value === "undefined" ? "" : String(this.config.value);
}

solves problem

Thank you for your report. The problem is confirmed. We’ll try to fix it in one of the future updates.

We have fixed your reported problem in the latest (7.3) dhx.Suite update.
Now the “required” property is not ignored for the textarea control of the form
You can check it in your original snippet.

Thank you for your report.