required check for array type
This commit is contained in:
1 parent
085dd49f75
commit
1898315095
1 file changed
+4
@@ -550,6 +550,10 @@ const NodeInspector: FC = () => {
|
||||
}
|
||||
valuePropName={type === "boolean" ? "checked" : undefined}
|
||||
rules={[
|
||||
{
|
||||
required,
|
||||
message: t("node.fileRequired", { field: arg.desc }),
|
||||
},
|
||||
() => ({
|
||||
validator(_, value) {
|
||||
if (type === "json") {
|
||||
|
||||
Reference in new issue
Block a user