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

url and anchor is required, but i only want to use options #80

Open
badoet opened this issue May 5, 2018 · 2 comments
Open

url and anchor is required, but i only want to use options #80

badoet opened this issue May 5, 2018 · 2 comments

Comments

@badoet
Copy link

badoet commented May 5, 2018

i have

<autocomplete
      label="type"
      :required="false"
      :options="typeList"
      :onSelect="selectType"
      :onInput="inputType">
    </autocomplete>

but i got this error:

Missing required prop: "anchor"
Missing required prop: "url"

but i dont need this url and anchor.
help?

the typeList is just an array of string

@ruben82
Copy link

ruben82 commented Jun 27, 2018

No reply for this issue?

@ruben82
Copy link

ruben82 commented Jun 27, 2018

Hi @badoet I found a solution about url required. I wanted to set manually the array, so I watched at the plugin code and if you use onShouldGetData, you can set url="0" to fire it. Hope this help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants