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

Cascader: Selection of menu group permitted on searched value of an uncomplete model #8919

Open
framework-res opened this issue Dec 10, 2024 · 0 comments
Assignees

Comments

@framework-res
Copy link

Reproduction link

https://stackblitz.com/edit/b4ckadru-zqnbtxtu?file=src%2Fapp%2Fapp.component.ts

Steps to reproduce

-Create a uncompleted model of a menu tree without childrens and that is not leaf with children = []

-Try to search and select the node that is not leaf (Hangzhou in stack blitz example)

What is expected?

That the node that is not a leaf is not set as a value

What is actually happening?

Node that is not leaf is set as value

Environment Info
ng-zorro-antd 18.2.1
Browser Brave

Into mine current project, menu tree could be created by user administrator. So will be appreciate if you can add that control, thanks

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

No branches or pull requests

2 participants