You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NG Dynamic Forms Version: `7.1.0`
[ ] Basic UI
[ ] Bootstrap UI
[ ] Foundation UI
[ ] Ionic UI
[ ] Kendo UI
[X] Material
[ ] NG Bootstrap
[ ] Prime NG
Description
DynamicTextAreaModel with 'minLength': 0 in "validators" still requires at least one character gets entered, please look into the stackblitz.
const myTextArea = new DynamicTextAreaModel({ id: "myTextArea", label: "My Textarea", validators: { "required": null, "minLength": 0 } });
It behaves like when you have the 'minLength': 1 for the DynamicTextAreaModel validators property.
To fix I totally dropped validators, but would be good if we could keep it and set it to 0 the min length validation was not necessary.
Please advise.
The text was updated successfully, but these errors were encountered:
I'm submitting a
I'm using
Description
DynamicTextAreaModel with 'minLength': 0 in "validators" still requires at least one character gets entered, please look into the stackblitz.
const myTextArea = new DynamicTextAreaModel({ id: "myTextArea", label: "My Textarea", validators: { "required": null, "minLength": 0 } });
It behaves like when you have the 'minLength': 1 for the DynamicTextAreaModel validators property.
To fix I totally dropped validators, but would be good if we could keep it and set it to 0 the min length validation was not necessary.
Please advise.
The text was updated successfully, but these errors were encountered: