We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The v-model didn't work the value would disappear after I click on the option, I tried so many things with no success here is an example https://codesandbox.io/s/heuristic-cookies-q48ez9
After banging my head against the wall I discovered that the data should not be computed value I was doing
data
<v-selectpage v-model="selectedClientId" :data="options.map(el => ({ name: el.name, id: String(el.id) }))" placeholder=" " title=" " />
I should do
<v-selectpage v-model="selectedClientId" :data="options" key-field="id" show-field="name" placeholder=" " title=" " />
The text was updated successfully, but these errors were encountered:
In your examples case, only need to remove .map(...) content
.map(...)
<v-selectpage v-model="selectedClientId" :data="options" placeholder=" " title=" " > </v-selectpage>
Sorry, something went wrong.
No branches or pull requests
Bug
The v-model didn't work the value would disappear after I click on the option, I tried so many things with no success
here is an example
https://codesandbox.io/s/heuristic-cookies-q48ez9
Solution
After banging my head against the wall I discovered that the
data
should not be computed valueI was doing
I should do
The text was updated successfully, but these errors were encountered: