mirror of
https://github.com/strapi/strapi.git
synced 2025-11-03 11:25:17 +00:00
Fix min equal
This commit is contained in:
parent
1efde575ad
commit
e991f6ec7c
@ -38,8 +38,6 @@ const EditViewDataManagerProvider = ({
|
||||
shouldCheckErrors,
|
||||
} = reducerState.toJS();
|
||||
|
||||
console.log({ formErrors });
|
||||
|
||||
const currentContentTypeLayout = get(allLayoutData, ['contentType'], {});
|
||||
const abortController = new AbortController();
|
||||
const { signal } = abortController;
|
||||
|
||||
@ -15,7 +15,7 @@ yup.addMethod(yup.array, 'notEmptyMin', function(min) {
|
||||
if (isEmpty(value)) {
|
||||
return true;
|
||||
}
|
||||
return value.length > min;
|
||||
return value.length >= min;
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user