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

Search limit does not work as expected #414

Open
cruperman opened this issue Jun 22, 2023 · 1 comment
Open

Search limit does not work as expected #414

cruperman opened this issue Jun 22, 2023 · 1 comment

Comments

@cruperman
Copy link

showSearch = {
    limit: false,
}

It doesn't work correctly because the condition is formulated incorrectly
https://github.com/react-component/cascader/blob/master/src/hooks/useSearchConfig.ts#L24C9-L24C21

@cruperman cruperman changed the title Disable limit works unexpected Search limit does not work as expected Jun 22, 2023
@afc163
Copy link
Member

afc163 commented Jun 23, 2023

PR welcome

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