mirror of
https://github.com/strapi/strapi.git
synced 2025-09-27 09:25:46 +00:00
Fix PR feedback
This commit is contained in:
parent
bc0edd96d2
commit
9be5655d00
@ -122,7 +122,7 @@
|
|||||||
"components.Input.error.attribute.sameKeyAndName": "Can't be equal",
|
"components.Input.error.attribute.sameKeyAndName": "Can't be equal",
|
||||||
"components.Input.error.validation.minSupMax": "Can't be superior",
|
"components.Input.error.validation.minSupMax": "Can't be superior",
|
||||||
"components.Input.error.custom-error": "{errorMessage} ",
|
"components.Input.error.custom-error": "{errorMessage} ",
|
||||||
"components.Input.error.validation.json": "This is not a JSON",
|
"components.Input.error.validation.json": "This doesn't match the JSON format",
|
||||||
|
|
||||||
"components.ListRow.empty": "There is no data to be shown.",
|
"components.ListRow.empty": "There is no data to be shown.",
|
||||||
|
|
||||||
|
@ -50,8 +50,6 @@ export function checkFormValidity(formData, formValidations) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function validate(value, validations) {
|
function validate(value, validations) {
|
||||||
// console.log('v', value);
|
|
||||||
// console.log('vza', validations);
|
|
||||||
let errors = [];
|
let errors = [];
|
||||||
// Handle i18n
|
// Handle i18n
|
||||||
const requiredError = { id: 'content-manager.error.validation.required' };
|
const requiredError = { id: 'content-manager.error.validation.required' };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user