From decfdf838d8ca5807706a09f3ef32c59e8932ef7 Mon Sep 17 00:00:00 2001 From: Katja Lutz Date: Wed, 14 Sep 2022 20:09:12 +0200 Subject: [PATCH] fix: properly clear textarea values after file load Reason behind this change is, because value via children cannot be reset to undefined, after the textarea was changed by any user input. --- src/components/Form.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/components/Form.tsx b/src/components/Form.tsx index b8878a3..c90eed2 100644 --- a/src/components/Form.tsx +++ b/src/components/Form.tsx @@ -167,14 +167,13 @@ export const TextArea: Component< + /> );