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

Flat-mode & non-mutltiple #404

Open
piotrkabacinski opened this issue Oct 27, 2020 · 1 comment
Open

Flat-mode & non-mutltiple #404

piotrkabacinski opened this issue Oct 27, 2020 · 1 comment

Comments

@piotrkabacinski
Copy link

piotrkabacinski commented Oct 27, 2020

Hi, is there a recommended solution to solve a problem using flat-mode & non multiple selection?

<treeselect
  ...
  :multiple="false"
  :flat="true"
/>

The goal is to be able to select only one option, including node. This props configuration seems to work, but it causes a warning (using console.error for some reason): [Vue-Treeselect Warning] You are using flat mode. But you forgot to add "multiple=true"?.

I searched existing issues (opened and closed) but I've not found any related to this case. If there's such as, I'll be thankful for a hint.

@z3d909
Copy link

z3d909 commented Oct 27, 2020

@piotrkabacinski you can check #405

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