react-admin icon indicating copy to clipboard operation
react-admin copied to clipboard

Feature Request : Date Range Picker Input

Open tauqeer-trailfive opened this issue 1 year ago • 2 comments

Is your feature request related to a problem? Please describe. Yes, I have Form in which I have to give start and end date of a event and I want if I chose a date in endDate then that date, past dates from selected date should be disabled in other (startDate) input field and future dates should enabled.

Describe the solution you'd like As far as I think the solutions is to add some date Range pickers from Date Range Picker as currently react-admin does only contain simple date-Picker.

Describe alternatives you've considered As a alternative approach i do some array manipulations to take a date from first date picker in my example case. but it sometime crashed during testing its not a valid way to do this thing.

Additional context screenshot about the feature request here.

image

tauqeer-trailfive avatar Nov 08 '23 10:11 tauqeer-trailfive

Thanks for your suggestion. This is already handled by a third-party package, https://www.npmjs.com/package/react-admin-mui-dateinputs, and we don't intend to integrate it in the core.

fzaninotto avatar Nov 08 '23 12:11 fzaninotto

My bad, the linked repo doesn't contain a daterange input. I'm marking this as a feature request, and we will gladly accept a PR implementing it. If this PR doesn't receive community traction, we'll close it within a couple months.

fzaninotto avatar Nov 08 '23 12:11 fzaninotto

No news for some time, closing.

fzaninotto avatar May 13 '24 11:05 fzaninotto