We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
I need posibility to set callback when multiple is true and after user choose values in select dropdown and click outside
I think it would be ok to call it after this line
react-select-item/src/components/Select.tsx
Line 207 in a67bd9a
The text was updated successfully, but these errors were encountered:
@tonoslav You can extend Select component and redefine private method for example:
Select
class MyCustomSelect extends Select { /** * Track the outside of selector clicks and call close if click was outside of * @param event * @returns {boolean} */ private handleClickOutside = (event, callback = () => null) => { const result = super.handleClickOutside(); callback(); return result; } }
Sorry, something went wrong.
Also, you can try handle blur event manually
No branches or pull requests
I need posibility to set callback when multiple is true and after user choose values in select dropdown and click outside
I think it would be ok to call it after this line
react-select-item/src/components/Select.tsx
Line 207 in a67bd9a
The text was updated successfully, but these errors were encountered: