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

Support the "placeholder" attribute #19

Open
chidinweke opened this issue Nov 3, 2020 · 3 comments
Open

Support the "placeholder" attribute #19

chidinweke opened this issue Nov 3, 2020 · 3 comments
Labels
bug Something isn't working

Comments

@chidinweke
Copy link

How do I add placeholder.

@mojoaxel
Copy link
Owner

mojoaxel commented Nov 3, 2020

@chidinweke Can you please be more specific!

@mojoaxel mojoaxel added the question Further information is requested label Nov 3, 2020
@chidinweke
Copy link
Author

chidinweke commented Nov 3, 2020

I added the FORM WITH LIVESEARCH

But I want a text that says CLICK HERE TO SELECT COUNTRY on the country list instead of Afghanistan.
So I did this
<select class="selectpicker countrypicker" placeholder"Click Here to Select Country" data-live-search="true" >

But "Click Here to Select Country" is not showing on the form. Instead it still showing Afghanistan.

@mojoaxel
Copy link
Owner

mojoaxel commented Nov 4, 2020

@chidinweke I tried to run you example: https://jsbin.com/jefiyij/edit?html,output

Sorry but there is currently no support for the placeholder attribute :-(

@mojoaxel mojoaxel added enhancement New feature or request bug Something isn't working and removed question Further information is requested enhancement New feature or request labels Nov 4, 2020
@mojoaxel mojoaxel changed the title Placeholder Support the "placeholder" attribute Nov 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants