API REFERENCE · FORM CONTROLS
<dj-constrained-input>
A text input with a custom validator function: (value) => string | undefined returning an error message (or undefined when valid). Applied through native constraint validation, so it participates in form validity. (Dojo's rule-DSL ValidationRules is deferred; supply a function for now.)
npm install @dojo-ng/constrained-input
import "@dojo-ng/constrained-input";
Properties
| Property | Attribute | Type | Default |
|---|---|---|---|
validatorCustom validator; return an error message, or undefined/empty when valid. |
Property only | (value: string) => string | undefined |
None |