osstotalsoft / rocket-ui-ts

A collection of reusable and composable React components written in TypeScript built on top of Material UI Core V5
MIT License
19 stars 4 forks source link

Synthetic Event Should Be Forwarded #42

Closed dragos-rosca closed 1 year ago

dragos-rosca commented 1 year ago

https://github.com/osstotalsoft/rocket-ui-ts/blob/c62d238daa0ed3257d4d2a03ec674b07d21376c2/src/components/inputs/Autocomplete/Autocomplete.tsx#L195

The synthetic event is important to communicate some of the key values of the component (like name). We have no reason to stop the synthetic event and since we started forwarding this event from TextField we should do here the same.