Skip to content

Date Picker filled in some browsers and empty in some #3290

Answered by SiTaggart
ehsaan-changa asked this question in Q&A
Discussion options

You must be logged in to vote

Hi there @ehsaan-changa

If you are validating the value of the date picker component itself, regardless of cross browser appearance, you should find the value is actually empty.

For best practices, though, we don't actually recommend what you are trying to do, which is disabling the button prior to submission. It's much better to communicate the requirements more explicitly using help text, error messaging and validation.

More context can be found in our Form validation guidelines and disabled button docs.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@ehsaan-changa
Comment options

@SiTaggart
Comment options

@ehsaan-changa
Comment options

Answer selected by SiTaggart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
External This Discussion was posted by a non-Twilio Paste consumer
2 participants