From 712751f7728b368f120dc501f7696db4f8085b08 Mon Sep 17 00:00:00 2001 From: Limber Mamani Vallejos Date: Thu, 6 Jun 2024 14:30:20 -0400 Subject: [PATCH 1/2] Fix: issue with textarea not capturing values or allowing input --- src/components/elements/Inputs/textArea/TextArea.hooks.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/elements/Inputs/textArea/TextArea.hooks.ts b/src/components/elements/Inputs/textArea/TextArea.hooks.ts index e139bbe8c..4603bc341 100644 --- a/src/components/elements/Inputs/textArea/TextArea.hooks.ts +++ b/src/components/elements/Inputs/textArea/TextArea.hooks.ts @@ -23,8 +23,7 @@ export const useTextAreaAuto = ( ref: React.RefObject; } = { onChange: handleChange, - ref: textAreaRef, - value + ref: textAreaRef }; return { value, handleChange, textareaProps }; From 1e89ec0d5bcd2f3fbf88f179277dee050ddb2732 Mon Sep 17 00:00:00 2001 From: Limber Mamani Vallejos Date: Thu, 6 Jun 2024 15:06:52 -0400 Subject: [PATCH 2/2] yarn run jest --- .../CommentaryBox/__snapshots__/CommentaryBox.stories.storyshot | 1 - .../Inputs/textArea/__snapshots__/TextArea.stories.storyshot | 1 - .../Modal/__snapshots__/ModalWithLogo.stories.storyshot | 1 - .../__snapshots__/useGetCustomFormSteps.stories.storyshot | 2 -- 4 files changed, 5 deletions(-) diff --git a/src/components/elements/CommentaryBox/__snapshots__/CommentaryBox.stories.storyshot b/src/components/elements/CommentaryBox/__snapshots__/CommentaryBox.stories.storyshot index ecbae0d44..d5b2afc87 100644 --- a/src/components/elements/CommentaryBox/__snapshots__/CommentaryBox.stories.storyshot +++ b/src/components/elements/CommentaryBox/__snapshots__/CommentaryBox.stories.storyshot @@ -31,7 +31,6 @@ exports[`Storyshots Components/Elements/CommentaryBox Default 1`] = ` onChange={[Function]} placeholder="Add a comment" rows={1} - value="" />