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(alloy-ui): AUI-3222 Avoid calling selectionChange on invaild dates #1201

Merged
merged 1 commit into from
Apr 15, 2024

Conversation

fortunatomaldonado
Copy link
Member

https://liferay.atlassian.net/browse/AUI-3222
https://liferay.atlassian.net/browse/LPD-22812

This is to fix errors in the console when erasing the hour or minutes of input time. By preventing firing selectionChange when the date is invalid, we are able to keep the same behavior without having errors in the log.

If we try to fix this in input_time/page.jsp the time will revert to --:--:- which will be tedious for users having to reenter the time again.
Screencast from 04-10-2024 11:12:46 AM.webm

Copy link
Member

@markocikos markocikos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fortunatomaldonado
Copy link
Member Author

Thank you @markocikos for reviewing this!

Do we know who can merge this?

Thank you for the help!

@markocikos markocikos merged commit 55ba9fd into liferay:master Apr 15, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants