Disable "select-all option" in af:selectManyChoice component
Disable “select-all option” in af:selectManyChoice component
af:selectManyChoice is a multi-select box that allows you to select more than 1 option at any instance. In a af:selectManyChoice component by default we get options like
all
option1
option2
……..
……
What if we need to hide or disable the “all” option which shows up by default?? Solution set the “selectAllVisible” attribute as “false” in the af:selectManyChoice component Example <af:selectManyChoice label=”#{bindings.SomeVO.label}” id=”sml1” autoSubmit=”true” value=”#{SomeBean.someValue}” valueChangeListener=”#{SomeBean.someValueChanged}” selectAllVisible=”false” > </af:selectManyChoice>