LmnDynamicValidatorMessageDirective
Decorators: |
|
Selectors: | [ |
A directive that used for display the error messages of a form control automatically. It use the
token for get the error messages.
Properties
Name | Type | Description |
---|---|---|
customErrorMessages r |
| Custom error messages for the control. |
disabled r |
| |
errorsContainer r |
| A ViewContainerRef for the error messages. |
errorsCountToDisplay r |
| The maximum number of error messages to display. Use -1 for display all errors. @default 3 |
errorStateMatcher r |
| A function that takes an |
negative r |
| Use the same input name of control to be synchronized with it. |
readonly r |
| Use the same input name of control to be synchronized with it. |
renderedErrors r |
| |
validateOn r |
| The event to trigger the process for show/hide the error messages. @default 'blur' |
Methods
setDefaultErrorContainer() | ||||||
---|---|---|---|---|---|---|
Assign the errorContainer only if not already assigned. | ||||||
Presentation
| ||||||
Parameters
Returnsvoid |