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

Search input should be optional #18

Open
galczo5 opened this issue Jan 24, 2019 · 3 comments
Open

Search input should be optional #18

galczo5 opened this issue Jan 24, 2019 · 3 comments

Comments

@galczo5
Copy link

galczo5 commented Jan 24, 2019

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;
}
@AndreySyagrovskiy
Copy link
Contributor

Hello @galczo5

Do you try to add if to input slot?

Kind regards, Andrii

@galczo5
Copy link
Author

galczo5 commented Jan 24, 2019

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

@AndreySyagrovskiy
Copy link
Contributor

AndreySyagrovskiy commented Jan 24, 2019

@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.

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

No branches or pull requests

2 participants