shesha-io / shesha-framework

An open-source Low-Code development framework for .NET developers. Create .NET based business applications with 80% less code.
https://shesha.io
Apache License 2.0
384 stars 75 forks source link

Date and time do not display when selecting current or close times with past times disabled #2450

Open hlayisanimazuze opened 5 days ago

hlayisanimazuze commented 5 days ago

When past times are disabled, selecting the current time or a minute close to it causes the date and time field to clear instead of displaying the selected value.

Steps to reproduce the behavior:

  1. Go to 'https://functional-adminportal-test.azurewebsites.net/dynamic/TestModule/components-table'
  2. Click on 'Default Button'
  3. From the create form, click on membershipStartDate field and select a date
  4. Immediately, it will auto select the current time, click Ok on the component
  5. Actual Results: The date and time selected is cleared out from the field
  6. Re-select the date and a different time and see how it behaves

Expected behavior When past times are disabled and the user selects the current time or a minute close to it, the selected date and time should display correctly in the field without being cleared

See attached video: https://jam.dev/c/6e64a7f3-db1a-47cc-b910-164df4485726