Describe the bug
When using createOption in 3.9.5 like this:
<v-select
label="name"
:options="foo"
v-model="organization"
taggable
:create-option="org => ({ name: org})"
id="newOrg"
>
organization is getting saved as a string and not an object.
To Reproduce
Steps to reproduce the behavior:
<v-select
label="name"
:options="foo"
v-model="organization"
taggable
:create-option="org => ({ name: org})"
id="newOrg"
>
organization when you create a new one.Expected behavior
organization: {
name: "new org"
That's a bug for sure. Reproduction here: https://codepen.io/sagalbot/pen/mdeyRGX?editors=1010
Will take a look today.
:tada: This issue has been resolved in version 3.9.6 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Sweet, thanks!
Most helpful comment
That's a bug for sure. Reproduction here: https://codepen.io/sagalbot/pen/mdeyRGX?editors=1010
Will take a look today.