mirror of
https://github.com/strapi/strapi.git
synced 2025-12-03 18:42:47 +00:00
reset formErrors on header delete
This commit is contained in:
parent
50a9192599
commit
177fdb6c5d
@ -210,6 +210,7 @@ function EditView() {
|
||||
index,
|
||||
event,
|
||||
});
|
||||
resetError('headers');
|
||||
};
|
||||
|
||||
const handleSubmit = e => {
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
import * as yup from 'yup';
|
||||
|
||||
// TODO - Translation
|
||||
const translatedErrors = {
|
||||
required: 'This value is required',
|
||||
regex: 'This does not match the format',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user