polaris icon indicating copy to clipboard operation
polaris copied to clipboard

[Autocomplete] Add onClose prop

Open solonaarmstrong-zz opened this issue 8 years ago • 1 comments

Originally posted here

We would like to clear the search field when the user removes focus from the input OR the popover. If we were provided an onClose callback, we could use this to clear the search field.

solonaarmstrong-zz avatar Nov 09 '18 16:11 solonaarmstrong-zz

https://github.com/Shopify/polaris-react/pull/479

solonaarmstrong-zz avatar Nov 09 '18 16:11 solonaarmstrong-zz