[GH-ISSUE #6788] [FR] Add TextFormatter to the time text field in date picker #2994

Closed
opened 2026-03-23 21:26:48 +00:00 by mirror · 0 comments
Owner

Originally created by @Xazin on GitHub (Nov 14, 2024).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/6788

Originally assigned to: @Xazin on GitHub.

Description

We should limit the users option for inputting wrong times in the Date Pickers time text field, we can do this by using a TextFormatter and based on the time format (12-hour vs. 24-hour) can allow them to only input certain characters and in a certain format, eg. 16:14 or 12:30 AM versus the non-managed options right now like ABCDEF that can be input but is wrong (and will be disregarded on submit).

Impact

Better UX for users, easier to correctly input time.

Additional Context

No response

Originally created by @Xazin on GitHub (Nov 14, 2024). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/6788 Originally assigned to: @Xazin on GitHub. ### Description We should limit the users option for inputting wrong times in the Date Pickers time text field, we can do this by using a TextFormatter and based on the time format (12-hour vs. 24-hour) can allow them to only input certain characters and in a certain format, eg. `16:14` or `12:30 AM` versus the non-managed options right now like `ABCDEF` that can be input but is wrong (and will be disregarded on submit). ### Impact Better UX for users, easier to correctly input time. ### Additional Context _No response_
mirror 2026-03-23 21:26:48 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#2994
No description provided.