mui-downshift icon indicating copy to clipboard operation
mui-downshift copied to clipboard

Different action for onClear

Open julioxavierr opened this issue 7 years ago • 3 comments

Is it possible to define a different action for when we click on "clear" Icon? Would be very useful for some specific cases.

julioxavierr avatar Oct 19 '18 19:10 julioxavierr

@julioxavierr I've been working on a rewrite that drops react-virtualized support (see #54) and also looking to support customization of the adornments (like clear, see also #36) probably via React.createContext (similar to this example

No ETA on the new version, but hopefully sooner than later :). Plan to resolve a large majority of the open issues with it (through simplification) but want to make sure I get it right.

techniq avatar Oct 19 '18 19:10 techniq

Thanks for the early reply! My team and I are using mui-downshift for a few months with relay modern, so this changes would be great.

julioxavierr avatar Oct 19 '18 19:10 julioxavierr

I use it with OData (via react-odata) and have had good success with it thus far in production. Dropping react-virtualized should fix some issues and open up more capability.

techniq avatar Oct 19 '18 19:10 techniq