From 472a20adb3028581966dda13984bcdb258962540 Mon Sep 17 00:00:00 2001 From: Farhanam76 Date: Wed, 13 Mar 2024 09:36:51 +0000 Subject: [PATCH 1/3] Added invalid to display an orange border in textField input when there is an error --- .../AnswerContent/AnswerProperties/TextFieldProperties.js | 1 + 1 file changed, 1 insertion(+) diff --git a/eq-author/src/components/AnswerContent/AnswerProperties/TextFieldProperties.js b/eq-author/src/components/AnswerContent/AnswerProperties/TextFieldProperties.js index a95fb1e8e7..77b704f7b8 100644 --- a/eq-author/src/components/AnswerContent/AnswerProperties/TextFieldProperties.js +++ b/eq-author/src/components/AnswerContent/AnswerProperties/TextFieldProperties.js @@ -75,6 +75,7 @@ const TextFieldProperties = ({ value={maxLength} onBlur={() => onUpdateMaxLength(maxLength)} onChange={({ value }) => setMaxLength(value)} + invalid={errors.length > 0} data-test="limitCharacterInput" /> From 1223b6add81c56de9b38c8669b386bbfae5b69f2 Mon Sep 17 00:00:00 2001 From: Farhanam76 Date: Wed, 13 Mar 2024 10:33:15 +0000 Subject: [PATCH 2/3] re-run checks From 857e72cf9b766a0c2ab73422f3b05b924035b2b1 Mon Sep 17 00:00:00 2001 From: Farhanam76 Date: Wed, 13 Mar 2024 11:03:49 +0000 Subject: [PATCH 3/3] re-run checks for tests