Skip to content

Commit

Permalink
[mantine.dev] Fix typo (#6724)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aybrea authored Aug 28, 2024
1 parent 95115da commit e6d5e24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/mantine.dev/src/pages/form/actions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ Form name must be a string that contains only letters, numbers and dashes:
import { useForm } from '@mantine/form';

// ✅ Valid form name
const valid = useForm({ name: 'valid-FORM-name-10' mode: 'uncontrolled' });
const valid = useForm({ name: 'valid-FORM-name-10', mode: 'uncontrolled' });

// ❌ Invalid form name: must not contain spaces and special characters
const invalid = useForm({ name: 'invalid_form name', mode: 'uncontrolled' });
Expand Down

0 comments on commit e6d5e24

Please sign in to comment.