Manually Enter Time/Date on Calendar

UI Components for React
Post Reply
darthbob88
Posts: 1
Joined: 13 May 2020, 21:07

13 May 2020, 21:32

The project I'm working on right now uses the PrimeReact calendar, and it works for most of our purposes, but we have an issue specifically with the time entry. The Prime calendar uses a stepper to enter times, and we want to be able to just type a date in. Is there some flag we can use to make this happen, or do we just need to find a new calendar component?
Thank you for your time.

luc.saffre
Posts: 1
Joined: 05 Jan 2021, 23:31

30 Mar 2021, 11:09

Same here. It seems not possible to use the Calendar widget when you want the users to be able to also manually enter a date. We have been trying lots of things (here is a recent pull request: https://github.com/lino-framework/react/pull/12/files), but the issue seems to be deeply rooted in the Calendar widget. The basic problem is IMHO that the widget tries to update after each keystroke. This approach is doomed to fail. The widget should update only when the text box loses focus.

mert.sincan
Posts: 5281
Joined: 29 Jun 2013, 12:38

07 May 2021, 01:50

Hi @darthbob88 and @luc.saffre,

Thanks a lot for your feedbacks! Could you please create Github issues for them?

Best Regards,

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 6 guests