Details
-
Bug
-
Resolution: Fixed
-
Medium
-
4.5.0, 4.4.4
-
None
-
None
-
Yes
Description
When there is a custom attribute or class defined for an element in Richtext with a "multiple" option set, there is no way to deselect already selected attributes or classes.
Steps to reproduce
1. Clean installation of Ibexa DXP v4.4 or v4.5
2. Define a custom attribute and/or class for the paragraph in the config/packages/ibexa.yaml:
ibexa: system: admin_group: fieldtypes: ezrichtext: attributes: paragraph: test: type: choice choices: [ test1, test2] default_value: test2 required: false multiple: true classes: paragraph: choices: [ test1, test2, test3 ] default_value: test1 required: false multiple: true
3. Create a Folder content - in the "Description" Field type Lorem Ipsum and try selecting and deselecting attributes and or classes
Result
Clicking on a class or attribute on a list won't remove it from the list.
Expected result
Choosing an attribute or class from the dropdown again removes the element from the list.
Designs
Attachments
Issue Links
- is duplicated by
-
IBX-6080 Cannot unselect choices in "Custom Attributes" modal in richeditor
- Closed