feat: error handling on forms
This commit is contained in:
parent
a6bb503b95
commit
7d5d963685
20 changed files with 119 additions and 71 deletions
|
|
@ -81,7 +81,7 @@ const initialValues = {
|
|||
const validationSchema = Yup.object().shape({
|
||||
name: Yup.string()
|
||||
.required()
|
||||
.max(50, 'Too long')
|
||||
.max(50)
|
||||
})
|
||||
|
||||
const MachineNameComponent = ({ nextStep, classes, setQrCode, setName }) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue