Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Required Rich Text Product Attribute issue when validating #4199

Open
R-baji opened this issue Nov 3, 2023 · 0 comments
Open

Required Rich Text Product Attribute issue when validating #4199

R-baji opened this issue Nov 3, 2023 · 0 comments

Comments

@R-baji
Copy link

R-baji commented Nov 3, 2023

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.
1

Steps to Reproduce

  1. Create a New Product Type from the dashboard
  2. Add a Product Attribute of type Rich Text and mark it as required
  3. 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)
2

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant