Open airikej opened 1 month ago
Merge onChange and onChangeEvent: This can simplify the API by having a single prop that supports both use cases. Most common cases use onChange, because there is nothing else but value needed from the event. But there are some usecases where event is needed, for that purpose i think both should be available.
@kasparsuvi1 @HarlesPilter is TextField with clearing button used anywhere else than just as search input? The designers want to break them into 2 components, so TextField wouldn't be having either large variant and also clearable button - they would be exclusive to Search component later. What do you think about that?
https://github.com/TEHIK-EE/tedi-design-system/issues/119
Figma?node-id=3486-37651&m=dev)
Dependencies:
No API changes but would suggest this:
onChange
andonChangeEvent
: This can simplify the API by having a single prop that supports both use cases.