mytooyo / board_datetime_picker

Picker to select date and time for Flutter. It is both a calendar and a picker, offering a variety of options as a package.
BSD 3-Clause "New" or "Revised" License
6 stars 6 forks source link

Editing of the fields is very difficult #12

Closed matteoberla closed 7 months ago

matteoberla commented 7 months ago

Hi, it seems that when editing the fields in order to choose a date, all the text fields acts in a strage way, not keeping the cursor on the selected position, numbers inserted are overridden before completing the entry, and so it's almost impossible to edit those fields manually.

Maybe a debounce on the inserted value would help. If the inserted values are not acceptable then override them, but wait for the insertion to finish.

mytooyo commented 7 months ago

OK, correct the input control.

matteoberla commented 7 months ago

Ok, let me know if you found out a solution for it, thank you.

mytooyo commented 7 months ago

@matteoberla Improved input issues in v1.3.1 to allow for flexibility.
If the input value is not acceptable, it will be corrected when it is out of focus.
Please try it and let me know if you feel it needs more modification.

We also released another issue in v1.3.1

matteoberla commented 7 months ago

That is perfect, the red animation when the field is invalid was a brilliant idea. Thank you very much for helping me.

mytooyo commented 7 months ago

@matteoberla Thank you very much. You have helped us to improve the quality. Please let me know if there is anything else I can do!