Fix min equal

This commit is contained in:
soupette 2019-12-11 16:56:03 +01:00
parent 1efde575ad
commit e991f6ec7c
2 changed files with 1 additions and 3 deletions

View File

@ -38,8 +38,6 @@ const EditViewDataManagerProvider = ({
shouldCheckErrors,
} = reducerState.toJS();
console.log({ formErrors });
const currentContentTypeLayout = get(allLayoutData, ['contentType'], {});
const abortController = new AbortController();
const { signal } = abortController;

View File

@ -15,7 +15,7 @@ yup.addMethod(yup.array, 'notEmptyMin', function(min) {
if (isEmpty(value)) {
return true;
}
return value.length > min;
return value.length >= min;
});
});