Skip to content

Feat/preservable #14

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

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Feat/preservable #14

wants to merge 8 commits into from

Conversation

howard-tzw
Copy link
Owner

@howard-tzw howard-tzw commented Aug 22, 2023

Extend the functionality of the Select component to preserve user-entered values in the input field, even if no matching options are found in the dropdown list.

If developers want to make user only select existing options, you can add :preservable="false" to the select component like the following:

<v-select v-model="selected" :preservable="false" :options="options" />

By default, the component is preservable, it means you can use the select component like a simple input.

@vercel
Copy link

vercel bot commented Aug 22, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
vue3-select ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 13, 2023 2:11am

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

Successfully merging this pull request may close these issues.

1 participant