Closed fortunatomaldonado closed 2 months ago
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.
selectionChange
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
--:--:-
Thank you @markocikos for reviewing this!
Do we know who can merge this?
Thank you for the help!
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