Required Rich Text Product Attribute issue when validating
R-baji opened this issue · comments
Miriam Al Arbaji Al Sayegh commented
Issue Summary
If the Product Type has an attribute of type Rich Text, and it was marked as required, then these attributes were left empty while creating the product. No errors will be pointed correctly to the rendered field, cause the corresponding textarea tag has a style property display: none; to allow the RichText Iframe handling the input.
Steps to Reproduce
- Create a New Product Type from the dashboard
- Add a Product Attribute of type Rich Text and mark it as required
- Create a new Product, then try to save without filling the Product Attribute mentioned in Step 2
Expected Result
To have the error tooltip displayed like it does for other types of attributes (in the attached image the attribute type is Text)
Actual Result
No errors are displayed and this prevents from saving the product, unless the user filled the attribute with some value
Technical details
- Python version: 3.10.12.
- Django version: 3.2.18
- Oscar version: 3.2