FieldErrorPipe takes order of errors as array and transform it to TuiValidationError
. Can be used with TuiError component. You can also use tuiFieldErrorContentPipe
with TuiHint
(see tuiFieldErrorContentPipe example ). It returns a content of the TuiValidationError. The idea of tuiFieldError
is to link tui-error
with form controls. Also you can use tuiValidationErrorsProvider
which provided TUI_VALIDATION_ERRORS
. The idea of TUI_VALIDATION_ERRORS
is to provide presentation for arbitrary error objects stored inside controls
Name | Price |
---|---|
Latte | |
Cappuccino |