backup names don't actually matter all that much, they don't get used as file names
This commit is contained in:
parent
d27f0c6f2a
commit
25b0e86730
4 changed files with 4 additions and 7 deletions
|
@ -96,9 +96,7 @@ export default ({ onBackupGenerated }: Props) => {
|
|||
onSubmit={submit}
|
||||
initialValues={{ name: '', ignored: '' }}
|
||||
validationSchema={object().shape({
|
||||
name: string().required()
|
||||
.matches(/^[w\][\w\s_.-]*[\w]$/, 'Backup name must only contain alpha-numeric characters, spaces, underscores, dashes, and periods. The name must start and end with an alpha-numeric character.')
|
||||
.max(255),
|
||||
name: string().required().max(255),
|
||||
ignored: string(),
|
||||
})}
|
||||
>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue