-
Notifications
You must be signed in to change notification settings - Fork 420
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updating Calendar on input change #322
Comments
If I understood you correctly, you want to have both an input element and a div element using the same date, and if one is updated then the other should automatically update? The only real thing you need to do is set all elements to use the same object, and set the |
I'm having the same issue as @jonnycraze . When updating the input manually my model doesn't get updated. The fix @DanTalash suggests is not what I'm looking for, I don't have 2 calendars, just 1 where I want to be able to let the user edit the date from the input itself. Another option is to disable direct input, but I can't find a solution for that. |
+1 |
2 similar comments
+1 |
+1 |
Simply make the input field readonly to disable direct input flow |
I apologize if this is addressed somewhere else, I just haven't found a clear answer one way or the other.
If I focus on an input with the date-time attribute, and update the value in the input field, is there a way to have that update the Calendar UI as well? I'm not seeing it in current examples but wondering if there is a way to do it.
Thanks much
The text was updated successfully, but these errors were encountered: