Skip to content

fix(explicit-constructed-response): honor the student spellcheck setting PIE-979 - #3114

Merged
CarlaCostea merged 2 commits into
developfrom
fix/PIE-979
Sep 3, 2026
Merged

fix(explicit-constructed-response): honor the student spellcheck setting PIE-979#3114
CarlaCostea merged 2 commits into
developfrom
fix/PIE-979

Conversation

@CarlaCostea

Copy link
Copy Markdown
Contributor

https://illuminate.atlassian.net/browse/PIE-979

Students were getting red underlines in the response areas even when spellcheck was meant to be off. The editor prop over in pie-lib is opt-out, so we need to hand it a real boolean instead of leaving it undefined.

The controller was passing playerSpellCheckEnabled straight through, and both defaults had it on. It now checks for an explicit true and defaults to false in the controller and in authoring, so spellcheck only comes on when the author actually asked for it. Tests cover true, false, absent, undefined and null, plus the value reaching the response area editor.

…ing PIE-979

Students were getting red underlines in the response areas even when spellcheck was meant to be off. The editor prop over in pie-lib is opt-out, so we need to hand it a real boolean instead of leaving it undefined.

The controller was passing playerSpellCheckEnabled straight through, and both defaults had it on. It now checks for an explicit true and defaults to false in the controller and in authoring, so spellcheck only comes on when the author actually asked for it. Tests cover true, false, absent, undefined and null, plus the value reaching the response area editor.
@CarlaCostea
CarlaCostea merged commit d23864f into develop Sep 3, 2026
3 checks passed
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

Successfully merging this pull request may close these issues.

1 participant