design-system-react
design-system-react copied to clipboard
Timepicker onBlur handler
The TimePicker has no way to register an onBlur handler on the input field. When we rely on "onDateChange" the UI re-renders when ever the user is typing a single letter into the input field. So "onBlur" would be the better event to take over the value.
Is there some way to get this done without a change in the component.
The best non-breaking path forward is a new Component that is called TimepickerCombobox
which is essentially a Combobox with preset values and current TimePicker should be deprecated. See https://github.com/salesforce/design-system-react/pull/2409
This issue has been automatically marked as stale, because it has not had recent activity. It will be closed if no further activity occurs. Maintainers are responsible for tech debt and project health. This is most likely a new components or component feature request. Please submit a pull request for or request feedback on this feature. Thank you.