Skip to content
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

fix(absolute-time-picker-input): reset input text when user closes dropdown with empty input #445

Merged
merged 1 commit into from
May 13, 2024

Conversation

GoncaloCamaz
Copy link
Contributor

This PR changes the behaviour of the component to handle the case where a user sets an input and closes the dropdown, and after that, he opens again and cleans the input. If the time was previously set, we should fill the input again with that value.
The value of the input only changes when the user sets a new valid time or when it picks a new day in the calendar.

@GoncaloCamaz GoncaloCamaz added the enhancement New feature or request label May 10, 2024
@GoncaloCamaz GoncaloCamaz self-assigned this May 10, 2024
@GoncaloCamaz GoncaloCamaz marked this pull request as ready for review May 10, 2024 14:02
@GoncaloCamaz GoncaloCamaz requested a review from a team as a code owner May 10, 2024 14:02
@GoncaloCamaz GoncaloCamaz merged commit 82598a3 into dev May 13, 2024
1 check passed
@GoncaloCamaz GoncaloCamaz deleted the gc/picker branch May 13, 2024 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants