DatePicker validation message #3003
-
Hi, Also, is it possible to control the focus after schema validation? it looks like the last field to be validated is where the focus remains. Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @giladvidal I don't think it's currently possible to disable the default error message, you can only overwrite it with something else. If you feel like this should be possible please create a feature request in the UI5 Web Components repo. To control the focus you can use the HTMLElement |
Beta Was this translation helpful? Give feedback.
Hi @giladvidal
I don't think it's currently possible to disable the default error message, you can only overwrite it with something else. If you feel like this should be possible please create a feature request in the UI5 Web Components repo.
To control the focus you can use the HTMLElement
focus()
method or thefocus()
method of the web component. In gerneral they are basically doing the same - the custom method only makes sure that the correct element is marked as activeElement.