Anant Vikram Singh
Anant Vikram Singh

Reputation: 558

Vue-select drop-down not working properly

I am using vue-select to create normal drop-down list. but it's having search bar in it by default which i don't required and want to keep it simple. I tried doing "display: none" for that search bar which will be disappeared.

Image is what I am getting now.

<wifi-select class="wifi-login__string" placeholder="String" :options="['String','Email','Date']" :clearable="false"> </wifi-select>

Upvotes: 5

Views: 2506

Answers (1)

Anant Vikram Singh
Anant Vikram Singh

Reputation: 558

i was using vue-select which does support various drop-downs, but doesn't has it's own CSS and thus we have to import CSS

import "vue-select/dist/vue-select.css";

Upvotes: 8

Related Questions