-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 2.4.0
-
Component/s: Widgets
Steps to reproduce
- In Studio Modeler, define a simple vocabulary with 4 entries, a schema with a multi-valued Directory field and a dcument type using this schema
- In Studio Designer, configure the View, Edit and Create layouts to use the nuxeo-directory-checkbox elements
- Deploy the Studio project
- Go to a Workspace and click on the + button, then choose the new document type
- In the creation form, select the 2 first checkboxes and submit
- Observe that the 2 values are correctly displayed
- Click on the + button and choose the new document type again
- First problem: the 2 first checkboxes are selected
- Unselect the checkbox and select the third one and create the doc
- Second problem: observe that the document was created with 3 values
- Click on the Edit button, unselect the 3 values and select the 4th one
- Last problem: observe that the document was saved with the 4 values
Expected behavior: the checkboxes should be correctly reset and only the selected values should be sent to document creation or update.
- Is referenced in