Details
-
Type:
Bug
-
Status: Closed
-
Priority:
High
-
Resolution: Fixed
-
Affects Version/s: 2.0.0
-
Fix Version/s: 2.1.0
-
Component/s: None
-
Labels:
-
Environment:
ezsystems/ezpublish-kernel -> v7.0.2
ezsystems/ezplatform-admin-ui -> v1.0.1
ezsystems/ezplatform-admin-ui-assets -> v1.0.0
ezsystems/ezplatform-admin-ui-modules -> v1.0.0
Chrome
Firefox
Description
- On a fresh eZPlatform V2, create a new content type with a ezselection field
- Add 2 options (A and B) in the ezselection field
- Create a new content object of this type
- In the ezselection field, option A is visually selected. Don't do anything on the ezselection field
- Publish the content
- Value A is not sent in the POST request
- Edit the object, select option A in the ezselection field
- Publish the content
- Value A is not sent in the POST request
- Edit the object, select option B in the ezselection field
- Publish the content
- Value B is now sent in the POST request
So, it looks like there is a Javascript bug on the select dropdown plugin.
Also, if the field is not required, it should have an empty option.
My advice (do what you want with it...) : drop that ugly plugin and keep the native select dropdowns.