Skip to content

Commit

Permalink
docs: fix typo (#621)
Browse files Browse the repository at this point in the history
  • Loading branch information
zwhitchcox committed May 5, 2024
1 parent 94b9c77 commit 4aab4cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/complex-structures.md
Expand Up @@ -6,7 +6,7 @@ Conform support both nested object and array by leveraging a naming convention o

Conform uses the `object.property` and `array[index]` syntax to denote data structure. These notations could be combined for nested array as well. e.g. `tasks[0].content`. If the form data has an entry `['tasks[0].content', 'Hello World']`, the object constructed will become `{ tasks: [{ content: 'Hello World' }] }`.

However, there is no need to set the name attribute of each field manually. Conform will always infer the name for you and you will have better type safety if you are using the generated name all
However, there is no need to set the name attribute of each field manually. Conform will always infer the name for you and you will have better type safety if you are using the generated name.

## Nested Object

Expand Down

0 comments on commit 4aab4cb

Please sign in to comment.