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
34.35k stars 3.72k forks source link

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

Open muezz opened 2 years ago

muezz commented 2 years 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 2 years 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?