ComboBox placeholder not visible
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 1.8k
- Forks
- 717
- Avg merge
- 2d 6h
- Merged PRs (30d)
- 3
Description
The ComboBox does not show the placeholder when it's in read-only/disabled state (See here).
This behavior is kinda inconsistent as the TextField does show the placeholder when it's in readonly/disabled state (See here).
Expected behavior
The ComboBox should also show the placeholder when it's in read-only/disabled state.
Vaadin Framework version
8.8.x
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with client/src/main/java/com/vaadin/client/ui/VComboBox.java at the placeholder handling around line 2040, then compare it with client/src/main/java/com/vaadin/client/ui/VTextField.java around line 59. Verify that a ComboBox displays its placeholder while read-only or disabled, matching the stated TextField behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100