Not a required field

This commit is contained in:
Dane Everitt 2020-04-04 12:30:45 -07:00
parent 25b0e86730
commit 875358a106
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53

View file

@ -96,7 +96,7 @@ export default ({ onBackupGenerated }: Props) => {
onSubmit={submit} onSubmit={submit}
initialValues={{ name: '', ignored: '' }} initialValues={{ name: '', ignored: '' }}
validationSchema={object().shape({ validationSchema={object().shape({
name: string().required().max(255), name: string().max(255),
ignored: string(), ignored: string(),
})} })}
> >