design-system-react icon indicating copy to clipboard operation
design-system-react copied to clipboard

Timepicker onBlur handler

Open niondir opened this issue 3 years ago • 2 comments

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.

niondir avatar Apr 21 '21 13:04 niondir

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

interactivellama avatar Jun 14 '21 16:06 interactivellama

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.

stale[bot] avatar Apr 19 '22 01:04 stale[bot]