<h:selectOneMenu/>
which had a blank option. I came up with a quick example using JSF 2.3 and CDI on GlassFish 5.0.The web page (index.xhtml) looks like the following:
The backing bean (IndexBean.java) contains the list of items for the menu and the logic to hold the selected value:
All in all a very simple example. I was asked what my dependencies looked like so here is the one last piece.
The NetBeans Maven project can be downloaded here: jsf23-cdi-selectonemenu-example