-
Notifications
You must be signed in to change notification settings - Fork 77
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
Set value on calcite-input-time-picker works incorrectly when default value exists #4206
Comments
The issue was found in the Survey123 JS API. When the time question has the default value, and they want to change the value through the JS function, the value cannot be set correctly. |
Thanks for reporting this and reproducing the issue! I am the original author of this component and have verified this locally. It appears to be caused by the internal |
Installed and assigned for verification. |
Actual Behavior
When the default value exists on the calcite-input-time-picker, the set value on the input time picker will work incorrectly.
For example, the input time picker has the default value of 11:00, when I try to set the input time picker's value to 14:30 by code, the input time picker will receive an incorrect value 14:00:00. (Note: if the input time picker does not have the default value, set value can work correctly.)
Expected Behavior
The value should be set correctly on the input time picker when the default value exists.
Reproduction Sample
https://codepen.io/nan9266/pen/XWzzaxM?editors=1111
Reproduction Steps
Reproduction Version
1.0.0-beta.72
Relevant Info
No response
Regression?
No response
The text was updated successfully, but these errors were encountered: