SelectOneMenu not showing options after PrimeFaces upgrade #2129
-
Hey :) I have updated PrimeFaces from Version 8 to 13 in a bigger project using the migration guides. Most things went pretty well - but all of the "p:selectOneMenu" do no longer work (>100 occurences). They show no value at all; and when clicking on them, nothing shows up in the dropdown list. As an example, here is one of the components:
When I add var and p:column, then a value is shown:
But unfortunately this does not show the actual label, but it will show the itemValue, e.g. "1" in the dropdown list. After selecting it, the correct label value is shown for the then selected value. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 9 replies
-
Maybe it helps. |
Beta Was this translation helpful? Give feedback.
Yes that hidden needs to stay hidden that is what holds the form value for submit while the UI renders a different styled component.
@steffenscheffler start simple with a an executable example using the PrimeFaces Test project. It is the only way developers can debug your problem to help. Just put a simple SelectOne in that Test project with PF 13.0.10 and see if it works. If it does then you are back to there is something wrong with your code hiding the select one.