we are using autoComplete component with forceSelection="false".
In the below screenshots I used the example code from the showcase:
https://www.primefaces.org/showcase/ui/ ... lete.xhtml
Only change I did was setting forceSelection="false":
Code: Select all
<h5>Multiple</h5>
<p:autoComplete id="countries" multiple="true" value="#{autoCompleteView.selectedCountries}"
completeMethod="#{autoCompleteView.completeCountry}"
var="country" itemLabel="#{country.name}" itemValue="#{country}"
converter="#{countryConverter}" forceSelection="false" scrollHeight="250">
<p:column>
<span class="flag flag-#{country.code}" style="width: 30px; height: 20px" />
<h:outputText style="vertical-align: middle; margin-left: .5rem" value="#{country.name}"/>
</p:column>
</p:autoComplete>
Starting with release 10.0.1 we see a changed behaviour. When we enter a new value (which is not on the sugestion list) and hit 'enter' key -> nothing happens
We are using PrimeFaces Elite 10.0.7.
Has someone dealt with this before?
Thank you and best regards