@@ -27,6 +27,8 @@ const Widget = () => {
onChange={(key: string[], path: string[]) => {
if (key.length > 0) {
setTags(key[0].split(","));
+ } else {
+ setTags([]);
}
}}
/>