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

FormElementWrapping not compatible with neos-ui 8.3.10 #139

Open
patricekaufmann opened this issue Oct 1, 2024 · 0 comments
Open

FormElementWrapping not compatible with neos-ui 8.3.10 #139

patricekaufmann opened this issue Oct 1, 2024 · 0 comments

Comments

@patricekaufmann
Copy link

In the Neos backend certain collection divs are not displayed correctly, the whole UI crashes and becomes unusable. For example when rendering a ValidatorCollection with a nested TextValidator, the following problem occurs:

  • Instead of two nested divs (one for the ValidatorCollection and one for the TextValidator), there will be a single div with combined attributes, e.g. data-_neos-form-builder-type="Neos.Form.Builder:ValidatorCollection Neos.Form.Builder:TextValidator" - the same behaviour applies to the fusion path. The wrong fusion path is what eventually leads to the UI crashing.

Why is that?

Neos 8.3.10 no longer adds script tags when wrapping Content and the HtmlAugmenter now detects a root element, making it possible to add attributes instead of wrapping inside the fallback tag.

patricekaufmann added a commit to patricekaufmann/form-builder that referenced this issue Oct 1, 2024
patricekaufmann added a commit to patricekaufmann/form-builder that referenced this issue Oct 1, 2024
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