Skip to content

DatePicker validation message #3003

Closed Answered by Lukas742
giladvidal asked this question in Q&A
Discussion options

You must be logged in to vote

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 the focus() 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.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by giladvidal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants