Issue
- I have a web content structure with multiple fields. When I create a web content from the structure, and add several fields (more than 100 entries), I experience delay while typing on the field and JS errors appear in the browser console.
Reproduction Steps:
1. Start DXP 7.4
2. Go to Content & Data --> Web Content --> Structures and create a structure with 2 text fields and make it repeatable.
3. Create web content from the structure and add repeatable fields. Add as many as possible (more than 100 entries).
4. Try to fill in the fields.
Result: While filling the fields the typing gets slower and delayed causing JS errors as well.
Environment
- Liferay DXP 7.4 update 70+
Resolution
- Web content wasn't designed to support so many fields, isntead you should use Objects. It is more reliable and stable. For more information, visit the following documentation links: https://learn.liferay.com/w/dxp/liferay-development/objects and https://learn.liferay.com/w/dxp/liferay-development/objects/creating-and-managing-objects/localizing-object-definitions-and-entries#localizing-object-definitions-and-entries