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.

Theme: p:selectOneMenu with empty noSelectionOption is too small

See original GitHub issue

Reproducer:

<p:selectOneMenu value="#{testView.string}">
    <f:selectItem noSelectionOption="true"/>
    <f:selectItems value="#{['a','b','c']}"/>
</p:selectOneMenu>

Confirmed with Saga, but will likely occur on all new themes:

Screenshot 2021-02-15 at 14 59 11 Screenshot 2021-02-15 at 14 59 42

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jepsarcommented, Feb 15, 2021

Yes, this was working with 8 (Nova Light)

0reactions
mertsincancommented, Feb 16, 2021

It’s fixed for now, but we need to change the placeholder behavior in PF11. https://primefaces.org/primereact/showcase/#/dropdown

Read more comments on GitHub >

github_iconTop Results From Across the Web

Applying different style to noSelectionOption on PrimeFaces ...
PrimeFaces p :selectOneMenu items has a property called noSelectionOption which is basicly selected when no option is selected.
Read more >
v5.1 selectOneMenu selectItem null/empty value Issue?
Hello, Under 5.1 the handling of a selectItem with a null or empty itemValue seems to be handled differently than in previous versions...
Read more >
P:Selectonemenu Preselects Previous Item When ... - ADocLib
So here's a In JSF 1.x you would be forced to wrap item values/labels in ugly ... Theme: p:selectOneMenu with empty noSelectionOption is...
Read more >
Combobox (<b:selectOneMenu>) - BootsFaces Showcase
<b:selectOneMenu> makes the Bootstrap style of displaying comboboxes ... So if you run into bugs with either the standard or the PrimeFaces syntax, ......
Read more >
How to skip validation when clicking a selectOn... - JBoss.org
In the first selectOneMenu I have a default item, so the user must to select an item in order to update the second...
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