-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: 2.2.0
-
Component/s: Selectivity
-
Release Notes Summary:An incorrect entry in nuxeo-user-suggestion element is removed when leaving the field.
-
Backlog priority:300
-
Browser:
-
Sprint:nxGang Sprint 10.3.2
-
Story Points:2
Requirement:
you have to define a multi-valued User/Group field in your document schema and use the nuxeo-user-suggestion element in a code similar to
<nuxeo-user-suggestion value="{{document.properties.schema:users}}" label="Users" multiple="true" search-type="USER_TYPE" role="widget" min-chars="1"></nuxeo-user-suggestion>
Steps to reproduce:
- Edit a document with this multi-valued User/Group field
- Type an incorrect value in the field, like foo
- Click outside of the field
- Observe that the value foo is still present in the suggestion field
- Click back to the suggestion field
- The value foo is removed
At step 4, the field shoud be reset, otherwise it is possible to submit the form with this incorrect entry.