How to know when the user has entered an invalid date? #3730
              
                Unanswered
              
          
                  
                    
                      JanderSilv
                    
                  
                
                  asked this question in
                Q&A
              
            Replies: 0 comments
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
I'd like to be able to trigger a warning message to the user, when it tries to type an invalid date.
The reason is, when date picker autocorrects the date, some users don't realize that the date has changed.
Other possibility is preserve the invalid date, and let the user change for a valid one by himself. These two scenarios works for me.
I read about this on some issues and PRs like: #773, #2756 but I still don't get how to do it.
Beta Was this translation helpful? Give feedback.
All reactions