When using a layout block with required input, the user is able to click create and no validation is done on the required input
Steps to Reproduce
- In Studio create a Layout Block that has Title as required
- Add this layout block to a document create layout
- Deploy changes and start Nuxeo
- Within Nuxeo, try to create a document of this type
- Notice that the Title input has the red star on it (indicating that it is required)
- Leave the Title blank and click Create
Expected Behavior: User is taken to the Title input where it is outlined in red indicating that it is required. When not using a Layout Block, the behavior works correctly
Actual Behavior: The UI freezes with a spinning circle and the following error appears in the console
Uncaught (in promise) TypeError: Cannot read properties of null (reading 'replace') at HTMLElement._sanitizeName (main.bundle.js:1891) at HTMLElement._create (elements.bundle.js:323)
Have to refresh the page to get out of this situation
- is related to
-
ELEMENTS-1442 Fix shared items object in nuxeo-page-provider-display-behavior
- Open
- Is referenced in