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