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

Default item #82

Open
celorodovalho opened this issue Feb 13, 2019 · 1 comment · May be fixed by #94
Open

Default item #82

celorodovalho opened this issue Feb 13, 2019 · 1 comment · May be fixed by #94

Comments

@celorodovalho
Copy link

From my point of view, it should allow a default text value if none of the options are acceptable.
"Autocomplete" should suggest me some values, but I should have the option the choose OR NOT.

I tried to put a default value, not listed, in some many ways without success:

v-model="defaultValueNotListed"
v-model.sync="defaultValueNotListed"
value="defaultValueNotListed"
:value="defaultValueNotListed"
:input-attrs="{value:defaultValueNotListed)"
@ciarans
Copy link

ciarans commented Jun 6, 2019

Seriously bad documentation. I kind of got it working though;

                 <v-autocomplete
                    :items="['Work', 'Home', 'Mobile', 'Fax']"
                    :wait="0"
                    :min-len="1"
                    :input-attrs="{class: 'input is-large'}"
                    v-model="number.type"
                    @change="(item)=>{ number.type = item }"
                    :get-label="(item)=>{ return item; }">
                  </v-autocomplete>

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 a pull request may close this issue.

2 participants