Update fields.tsx

pull/393/head
Q191 1 year ago committed by GitHub
parent 8b6abfaa84
commit 66348ff650
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -24,7 +24,7 @@ function pathValidator(value?: string): string | null {
export function name(config: FileSystemConfig, onChange: FSCChanged<'name'>): React.ReactElement { export function name(config: FileSystemConfig, onChange: FSCChanged<'name'>): React.ReactElement {
const callback = (value: string) => onChange('name', value); const callback = (value: string) => onChange('name', value);
const description = 'Name of the config. Can not exists of : \\"'; const description = 'Name of the config. Can not exists of : \\/"';
return <FieldString key="name" label="Name" value={config.name} onChange={callback} validator={invalidConfigName} description={description} /> return <FieldString key="name" label="Name" value={config.name} onChange={callback} validator={invalidConfigName} description={description} />
} }

Loading…
Cancel
Save