diff --git a/components/form/article/create-article-form.tsx b/components/form/article/create-article-form.tsx index 1f6b448..40f25d6 100644 --- a/components/form/article/create-article-form.tsx +++ b/components/form/article/create-article-form.tsx @@ -664,7 +664,10 @@ export default function CreateArticleForm() { "!rounded-lg bg-white !border-1 !border-gray-200 dark:!border-stone-500", }} classNamePrefix="select" - onChange={onChange} + value={value} + onChange={(selected) => { + onChange(selected); + }} closeMenuOnSelect={false} components={animatedComponents} isClearable={true} @@ -683,60 +686,7 @@ export default function CreateArticleForm() { )}
Tags
- {/*