Describe the bug
When the datepicker is configured with property "showTimeSelectOnly" it's not possible to clear the value
To Reproduce
Steps to reproduce the behavior:
- Go to the page 'https://reactdatepicker.com/' and find the "Select Time Only" example (https://reactdatepicker.com/#example-select-time-only)
- Click on the datepicker
- Clear the value in the input (backspace or delete on the keyboard)
- Click outside
- The previous value reappears in the input
Expected behavior
The datepicker should be cleared, withuout value
Screenshots
Step 1

Step 2

Step 3 and 4

Desktop (please complete the following information):
- OS: Windows 10
- Browser Chrome
- Version 115.0.5790.102 (Official Build) (64-bit)
- Version ReactDatepicker 4.16
Additional context
I tryed in a previous versione of react-datepicker (4.8.0) and it worked, so i think is a regression
Describe the bug
When the datepicker is configured with property "showTimeSelectOnly" it's not possible to clear the value
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The datepicker should be cleared, withuout value
Screenshots



Step 1
Step 2
Step 3 and 4
Desktop (please complete the following information):
Additional context
I tryed in a previous versione of react-datepicker (4.8.0) and it worked, so i think is a regression