Skip to content

TA 47194: Fixes long menu question point correction modal closing issue#11394

Open
thojou wants to merge 1 commit intoILIAS-eLearning:release_11from
thojou:bugfix/11/ta-47194
Open

TA 47194: Fixes long menu question point correction modal closing issue#11394
thojou wants to merge 1 commit intoILIAS-eLearning:release_11from
thojou:bugfix/11/ta-47194

Conversation

@thojou
Copy link
Copy Markdown
Contributor

@thojou thojou commented Apr 2, 2026

Hey,

This PR is related to Mantis ticket https://mantis.ilias.de/view.php?id=47194.

The issue described in this ticket occurs because rendering the KS modals creates nested forms. Since browsers treat this as invalid HTML, they manipulate the faulty markup and remove all inner form tags. This leads to the behavior described in the ticket.

To solve the problem, it must be ensured that the forms (modals) are rendered outside the actual form context. Unfortunately, we could not find any other way than to adapt the central form component.

@kergomard : If you have a better suggestion here, we would be grateful for your input. We evaluated various scenarios, but this was the “best” solution we could find.

I addition, i didn't find anyone, who is responsible for components/Form. So maybe @dsstrassner could add other authorities, if required.

Best Regards,
@thojou

@thojou thojou added bugfix php Pull requests that update Php code labels Apr 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants