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 Box placeholder #445

Closed
Cadeniuc opened this issue Mar 3, 2024 · 4 comments
Closed

Search Box placeholder #445

Cadeniuc opened this issue Mar 3, 2024 · 4 comments

Comments

@Cadeniuc
Copy link

Cadeniuc commented Mar 3, 2024

Hi guys,
How I can to change the placeholder for dropdown search box ?
2024-03-03 12 45 22

Thanks

@cyhnkckali
Copy link

@iamstevendao help plase!!!

@iamstevendao
Copy link
Owner

hi guys, you can customise its style using vti__search_box class, or hide it using dropdownOptions.showSearchBox: false

<input
            v-if="dropdownOptions.showSearchBox"
            class="vti__input vti__search_box"
            aria-label="Search by country name or country code"
            :placeholder="sortedCountries.length ? sortedCountries[0].name : ''"
            type="text"
            v-model="data.searchQuery"
            @click.stop
        />

@Cadeniuc
Copy link
Author

Cadeniuc commented Apr 5, 2024

hi @iamstevendao, I meant to change placeholder not to hide it(

@shubhamChaudhariRanium
Copy link

shubhamChaudhariRanium commented Jul 2, 2024

hi @iamstevendao, I meant to change the placeholder not hide it(

Hey @Cadeniuc, has the issue been fixed? I'm facing the same problem where the placeholder isn't overriding.

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

4 participants