Implement textarea validation for character limits in submission service; enhance user feedback with error messages for minimum and maximum character requirements. Update translations and UI components to support new validation features.

This commit is contained in:
Rotimi Best
2026-03-29 09:50:24 +01:00
parent acccbee110
commit ff2ad59377
24 changed files with 805 additions and 88 deletions
@@ -78,7 +78,9 @@ export const TEXTAREA_FIXTURE: QuestionStoryFixture = {
title: 'Explain why exercise feedback should be specific. [TEXTAREA]',
questionType: 'TEXTAREA',
settings: {
description: 'Provide a detailed response.'
description: 'Provide a detailed response.',
minCharacters: 30,
maxCharacters: 250
}
},
answer: '<p>Specific feedback helps students improve on the next attempt quickly.</p>'