diff --git a/src/utils/validations.ts b/src/utils/validations.ts index 2821f8a26..3f025bf60 100644 --- a/src/utils/validations.ts +++ b/src/utils/validations.ts @@ -141,7 +141,7 @@ export const validations: { ); }, isJson: function (values, value, minimum) { - if (isExisty(value) && !isEmpty(value)) { + if (isExisty(value) && !isEmpty(value) && typeof value === 'string') { try { JSON.parse(value); } catch (e) {