mirror of
https://github.com/strapi/strapi.git
synced 2025-12-25 06:04:29 +00:00
Change limit
Signed-off-by: soupette <cyril.lpz@gmail.com>
This commit is contained in:
parent
41b45e1fef
commit
5c2221a9ed
@ -132,6 +132,8 @@ const InputModalStepperProvider = ({
|
||||
let type = 'ON_CHANGE';
|
||||
|
||||
if (name === 'url') {
|
||||
setFormErrors(null);
|
||||
|
||||
val = value.split('\n');
|
||||
type = 'ON_CHANGE_URLS_TO_DOWNLOAD';
|
||||
}
|
||||
|
||||
@ -35,7 +35,7 @@ const urlSchema = yup.object().shape({
|
||||
},
|
||||
})
|
||||
.min(0, errorsTrads.min)
|
||||
.max(3, errorsTrads.max),
|
||||
.max(20, errorsTrads.max),
|
||||
});
|
||||
|
||||
export default urlSchema;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user