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

DatePicker: add `onReset` event

Open silvalaura opened this issue 1 year ago • 0 comments

Is your feature request related to a problem? Please describe. Is there a way to track when the "reset" function is triggered, so we can reset our state accordingly? Currently, the code does not emit any events: (https://github.com/cengage/react-magma/blob/dev/packages/react-magma-dom/src/components/DatePicker/index.tsx#L288)

Describe the solution you'd like

  • onReset event is added to the DatePicker component which gets called when the reset function is triggered

silvalaura avatar Oct 31 '24 13:10 silvalaura