stf-vue-select icon indicating copy to clipboard operation
stf-vue-select copied to clipboard

Search input should be optional

Open galczo5 opened this issue 6 years ago • 3 comments

Is there any posibility to disable search input slot? When I have selected value and I want to change it, selected value is not visible.

image

image

I have workaround, but passing property for it would be awesome.

.stf-select__search-input {
    display: none !important;
}

.stf-select__search-enabled .stf-select__search-input {
    display: block !important;
}

galczo5 avatar Jan 24 '19 09:01 galczo5

Hello @galczo5

Do you try to add if to input slot?

Kind regards, Andrii

AndreySyagrovskiy avatar Jan 24 '19 09:01 AndreySyagrovskiy

I don't have input slot defined in my code. Do I have to define it and then disable it with v-if?

galczo5 avatar Jan 24 '19 10:01 galczo5

@galczo5 Maybe there is some misunderstanding. Try first select in the demo https://stfalcon-studio.github.io/stf-vue-select/dist/. Does it work as desired? It is select without input and it works as you expect.

AndreySyagrovskiy avatar Jan 24 '19 11:01 AndreySyagrovskiy