Dropdown Menu
Posted: 08 Oct 2019, 08:16
Hi, frist of all, amazing Comunity and thanks alot for previous answers.
Im having a problem Setting up a Dropdown Menu with Serenity. Its there, but as soon as i develop a filter its shown as an input box and the dropdown. How can i get rid of this box and just type in the dropdown to filter a certain list out of a Database?
<p:selectOneMenu id="lokation" value="#{DropdownView.lokation}"style="width:90%">
<p:ajax listener="#{dropdownView.onCountryChange}" update="city" />
<f:selectItem itemLabel="Displayname der Lokation: " itemValue="" noSelectionOption="true" />
<f:selectItems value="#{DropdownView.displayLokation}" />
</p:selectOneMenu>
I have to develop this Dropdown which have to look like the one on Serenity, this one with the bar in the autocomplete section. Problem is, it doesnt show up like this, worse if i develop a filter.
Is there a workaround for this?
Thanks in advance
Im having a problem Setting up a Dropdown Menu with Serenity. Its there, but as soon as i develop a filter its shown as an input box and the dropdown. How can i get rid of this box and just type in the dropdown to filter a certain list out of a Database?
<p:selectOneMenu id="lokation" value="#{DropdownView.lokation}"style="width:90%">
<p:ajax listener="#{dropdownView.onCountryChange}" update="city" />
<f:selectItem itemLabel="Displayname der Lokation: " itemValue="" noSelectionOption="true" />
<f:selectItems value="#{DropdownView.displayLokation}" />
</p:selectOneMenu>
I have to develop this Dropdown which have to look like the one on Serenity, this one with the bar in the autocomplete section. Problem is, it doesnt show up like this, worse if i develop a filter.
Is there a workaround for this?
Thanks in advance