tuiTextfield show error without defocus #9598
Answered
by
waterplea
vytautas-pranskunas-
asked this question in
Q&A
-
Hi, i have async validator which validates input. Error it self appears immediatly because of tui-error control however input itelf is not marked red untill i not explicilty on submit calling tuiMarkControlAsTouchedAndValidate
Screen.Recording.2024-10-23.at.17.40.07.mov |
Beta Was this translation helpful? Give feedback.
Answered by
waterplea
Oct 23, 2024
Replies: 1 comment
-
You can mark all your controls as touched from the beginning immediately after you create them. Otherwise it is not configurable — Taiga UI only shows errors for touched controls. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
waterplea
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can mark all your controls as touched from the beginning immediately after you create them. Otherwise it is not configurable — Taiga UI only shows errors for touched controls.