Closed msslgomez closed 8 months ago
You can call your method inside the default method provided by the Rich Select.
<t-rich-select
:fetch-options="(q, nextPage) => fetchOptions(q, nextPage, pass, as, many, variables, as, you, like, here)"
//other options
/>
@razukc Works great! Do you know how I can change the "Please enter 1 or more characters" similar to the other slots, like the noResults slot? I don't see this one in the docs.
Edit: Found it, I don't know if it can be done with a <template slot=""></template>
or not but I did it by adding the prop minimum-input-length-text="text here"
to the component.
Hi, is there a way for me to pass another variable to the fetchOptions method? I want to make it dynamic using a v-for and pass the url from where to get the options to the method. I tried this but now I can't get the search value.
Doing it this way it shows
q
as undefined.In an ideal world I would do something like this, (values would be the url in this case)
Is there a way to do this?