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

minTime option is not working with showTimeInput

Open leikoilja opened this issue 4 years ago • 4 comments

Describe the bug When using showTimeInput options and setting up minTime it is not respected in the same way as when using showTimeSelect.

To Reproduce Here is a demo https://stackblitz.com/edit/react-time-picker-demo-mvtrwu

Expected behavior When minTime is set the time(hour/minute) options below must be grayed out and disabled. If manually entered time that is less then minTime perhaps the widget should 'reset' time to current hour and minute.

leikoilja avatar Oct 28 '21 13:10 leikoilja

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 27 '22 14:04 stale[bot]

Nu but we can't just mark it stale and close with no reason 😅

leikoilja avatar Apr 28 '22 06:04 leikoilja

Can anybody assign someone to solve this problem please? @martijnrusschen

shibran avatar Nov 01 '22 11:11 shibran

Same issue here, can't change minTime dynamically based on selected day... a bit annoying. Why it isn't supported since we can have dynamic min and max datetime ?

alimtunc avatar Jan 12 '23 14:01 alimtunc

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 10 days.

github-actions[bot] avatar Jul 05 '24 01:07 github-actions[bot]

This issue was closed because it has been stalled for 10 days with no activity.

github-actions[bot] avatar Jul 15 '24 01:07 github-actions[bot]