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
33.95k stars 3.66k forks source link

[Enhancement]: Today shortcut in the date picker does not follow rules of max & min dates #17663

Open muezz opened 1 year ago

muezz commented 1 year ago

Is there an existing issue for this?

Description

I have two date picker widgets where one is for picking the start date and the other is for picking the end date. The pickers look like this: image I have the following rules for both pickers:

Steps To Reproduce

My description gives the complete use-case with the relevant pieces of code which can be used to recreate this.

Public Sample App

No response

Version

Appsmith v1.8.5-SNAPSHOT

Front logo Front conversations

Nikhil-Nandagopal commented 1 year ago

@muezz thanks for raising this. This does not look like a bug and is more an intended behaviour but we'll consider this as an improvement to the existing widget

somangshu commented 1 year ago

@dilippitchika here if we only want to show an error on the date input, that should be easy to implement, Do we need some other behaviour?