Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different action for onClear #62

Open
julioxavierr opened this issue Oct 19, 2018 · 3 comments
Open

Different action for onClear #62

julioxavierr opened this issue Oct 19, 2018 · 3 comments

Comments

@julioxavierr
Copy link

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

@techniq
Copy link
Owner

techniq commented Oct 19, 2018

@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.

@julioxavierr
Copy link
Author

julioxavierr commented Oct 19, 2018

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.

@techniq
Copy link
Owner

techniq commented Oct 19, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants