react-component/cascader

Search limit does not work as expected

Opened this issue · 1 comments

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

afc163 commented

PR welcome