- Issue created by @hablat
- πΊπΈUnited States hablat
This ticket seems vaguely related
https://www.drupal.org/project/opigno_lms/issues/3013048 β
When a user is answering h5p activities and questions while going through a module. When the user navigates back to a previously answered question their previous answer is not shown. This is even with the Save content state setting enabled under the h5p settings at /admin/config/system/h5p
Create a module and add multiple H5p activities with multiple choice h5p content type.
Go through the module and answer the multi choice questions.
Navigate back to a previous question you've answered and notice you previous selection/answer is not checked/selected.
It looks like the h5p field formatter is clearing the contentUserdata used by h5p to save previous states for h5p forms in the following route opigno_module.group.answer_form. Not sure why this needs to be done. Removing the route from the logic fixes it.
Active
3.2
Code
This ticket seems vaguely related
https://www.drupal.org/project/opigno_lms/issues/3013048 β