question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Placeholder missing when not searchable

See original GitHub issue

I just found out that the placeholder is not displayed when v-select has :searchable="false"

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (2 by maintainers)

github_iconTop GitHub Comments

4reactions
andremiguelaacommented, Mar 11, 2018

@wa05 include opacity: 1

.v-select.unsearchable input[type="search"] { max-width: none; opacity: 1; } .v-select.unsearchable > .dropdown-toggle > .selected-tag + input[type="search"] { max-width: 1px; }

4reactions
ghostcommented, Jun 22, 2017

I had the same problem. Its because the input field with the placeholder is set to max-width: 1px when searchable is false.

Heres a simple temporary fix:

.v-select.unsearchable input[type="search"] {
    max-width: none;
}
.v-select.unsearchable > .dropdown-toggle > .selected-tag + input[type="search"] {
    max-width: 1px;
}
Read more comments on GitHub >

github_iconTop Results From Across the Web

HTML5 textarea placeholder not appearing - Stack Overflow
If you have an input in your form and placeholder is not showing because a white space at the beginning, this may be...
Read more >
Solved: InputTextPlaceholder becomes invisible!
Solved: Hi All, Please note in the GIF shared that the input text placeholder "Select 1 from drop-down" becomes invisible as soon as...
Read more >
Why are my input fields blank and placeholders missing when ...
Result: Input fields no longer have the value, placeholder is gone, object still has correct values....It only happen when the section is ...
Read more >
Can't Get Filter Placeholder to Work — DataTables forums
Hello, I tried using a solution that was found to work on these forums in order to place text within the search filter...
Read more >
Placeholders - The jQuery replacement for select boxes
Select2 is a jQuery based replacement for select boxes. It supports searching, remote data sets, and pagination (infinite scrolling) of results.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found