From 77f11a08dc895ec7f82ca75ab6e5154fc70f51e8 Mon Sep 17 00:00:00 2001 From: amrelbialy Date: Tue, 30 Mar 2021 14:20:34 +0200 Subject: [PATCH] fix tags field to update tags --- packages/ui/src/core/tag-field/tag-field.component.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ui/src/core/tag-field/tag-field.component.tsx b/packages/ui/src/core/tag-field/tag-field.component.tsx index c637332c..7dccd74a 100644 --- a/packages/ui/src/core/tag-field/tag-field.component.tsx +++ b/packages/ui/src/core/tag-field/tag-field.component.tsx @@ -130,7 +130,7 @@ const TagField = intrinsicComponent( // }); returnObjorString(tags); - }, []); + }, [tags]); const renderLabel = (): string | number | null | JSX.Element | any => { if (label) {