Closed DakotaWray2 closed 4 years ago
How would you like to populate the cv-dropdown?
I note that the Vuetify select allows items to be passed in, presumably to populate it.
In Carbon Vue we have tried to structure our list and select components more like standard HTML Select/Option.
Morning and thanks for the quick response. That is fine, and works for me. I just wanted to make sure it was the correct way according to the devs. Might i suggest an items prop as a future option since some other components use it, multiselect for example, and the React version has the capability as well.
It would be relatively trivial to add if you fancy submitting a PR.
Your usages look correct given the current API.
I will try to knock it out this week.
Hi there, Thanks for the great components. I'm currently migrating from Vuetify and wondering if there is a better solution to populating the cv-dropdown-item? It doesn't seem to be in the docs.
What I am doing now.
<cv-dropdown-item v-bind:key="option.Id" v-for="option in reportSources" :value="option.Source">{{option.Title}}</cv-dropdown-item> </cv-dropdown>
Thanks!