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
How to hide placeholder from the list? #89
Comments
Hi, Could you send a screenshot to illustrate what you mean please? Thanks :) |
@jshjohnson I want to hide this item 'This is placeholder' because it looks very weird. |
So the example you set is using the following HTML: <select class="form-control" data-trigger name="choices-single-default" id="choices-single-default" placeholder="This is a search placeholder">
<option selected disabled>This is a placeholder</option>
<option value="Dropdown item 1">Dropdown item 1</option>
<option value="Dropdown item 2">Dropdown item 2</option>
<option value="Dropdown item 3">Dropdown item 3</option>
</select> To remove the <option selected disabled>This is a placeholder</option> Thanks |
@jshjohnson I didn't say that I want to remove it, I want to HIDE it. I want to keep placeholder. |
Ah apologies. That's currently not possible but is in the works here. |
@lavezzi1
|
Hello everyone,
I want to hide the placeholder from the list (choices list) is this possible?
The text was updated successfully, but these errors were encountered: