appsmithorg / appsmith

Platform to build admin panels, internal tools, and dashboards. Integrates with 25+ databases and any API.
https://www.appsmith.com
Apache License 2.0
32.47k stars 3.52k forks source link

[Bug]-[48]:Date picker widget says dates before 1921 are out of range #18704

Open ghost opened 1 year ago

ghost commented 1 year ago

Is there an existing issue for this?

Description

When I set the default date of a date picker widget to a date before 1921 the widget says it's out of range.

I expect the date picker to display whatever date I give it.

Steps To Reproduce

  1. D&D a Date picker widget onto the canvas
  2. Try to set the default date to Dec 31, 1920 (e.g. "12-31-1920")
  3. Observe that it is out of range.

Public Sample App

No response

Issue video log

No response

Version

Cloud 1.8.11

Front logo Front conversations

kamakshibhat-appsmith commented 1 year ago

@AS-Laguna Can we ask the user to specify the minimum date range to get unblocked. Seems like by default , it take up-to 100 years . If your input can be beyond that, you have to set that range in the min/max property . let me know if this unblocks the user

dilippitchika commented 1 year ago

This is a limitation of all modern date pickers that they usually work 100 years before and after the current date as Kamakshi pointed.

@AS-Laguna is there a use-case which the user has, if not then i don't think this is relevant

dilippitchika commented 1 year ago

Stats

Stat Values
Reach 12
Effort (months) 0.5