It seems that this plugin is no longer working or else I do not understand what it is meant to do.
Clicking the submit button for a question before the question can be submitted is not notifying me of the error. Since the question cannot yet be submitted, the button is disabled and has aria-disabled="true". This apparently means that you cannot interact with it. If I change the button to aria-disabled="false" and then try to submit without choosing an option, I get the Instruction Error popup:
Your environment
FW 5.41.3
Instruction Error 2.0.3
Steps to reproduce
Enable Instruction Error.
// Add to course.json
"_instructionError": {
"_isEnabled": true,
"title": "Instructions",
"body": "{{#if instruction}}{{{instruction}}}{{else}}Please complete the question and then select Submit.{{/if}}"
}
Navigate to an MCQ
Click the Submit button before choosing an option.
Expected behaviour
A Notify should appear because the question cannot yet be submitted.
Subject of the issue
It seems that this plugin is no longer working or else I do not understand what it is meant to do.
Clicking the submit button for a question before the question can be submitted is not notifying me of the error. Since the question cannot yet be submitted, the button is disabled and has
aria-disabled="true"
. This apparently means that you cannot interact with it. If I change the button toaria-disabled="false"
and then try to submit without choosing an option, I get the Instruction Error popup:Your environment
Steps to reproduce
Expected behaviour
A Notify should appear because the question cannot yet be submitted.
Actual behaviour
Nothing happens.