Fix: Add value prop initial value to prevent it from breaking when open edit node modal
This commit is contained in:
parent
65d8b59885
commit
a2096b8e0b
1 changed files with 1 additions and 1 deletions
|
|
@ -6,7 +6,7 @@ import { classNames } from "../../utils/utils";
|
|||
import { Input } from "../ui/input";
|
||||
|
||||
export default function DictComponent({
|
||||
value,
|
||||
value = [],
|
||||
onChange,
|
||||
disabled,
|
||||
editNode = false,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue