Custom select attribute code "container" breaks javascript on update attributes #21232
Open
Description
Preconditions (*)
- Magneto 2.2.3
- PHP 7.0.33
Steps to reproduce (*)
- Create a custom select attribute with a code of "container"
- Go to the Catalog->Products and check the box next to at least one product.
- Click the Action dropdown and select "Update Attributes"
- Scroll down until you see your container attribute and you will see that it is not disabled
Expected result (*)
- The attribute should be disabled by default until you check the Change box
Actual result (*)
Workaround (*)
Edit eav_attribute table and change the attribute code from "container" to something else. The problem happens because there is already a css id "container" on the page and this breaks the javascript function to enable/disable your custom attribute with the same name "container"
Metadata
Assignees
Labels
Type
Projects
Status
Dev In Progress