Skip to content

Commit

Permalink
docs: example fix
Browse files Browse the repository at this point in the history
  • Loading branch information
logaretm committed Nov 17, 2021
1 parent f288ca5 commit 7c621ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/content/guide/components/nested-objects-and-arrays.md
Expand Up @@ -131,7 +131,7 @@ Field arrays are a special type of nested array fields, they are often used to c

When dealing with those fields it is better to use `<FieldArray />` component which gives you a few helpers you can use to manage the array fields.

Here is a small example that shows how easy it is to create a repeatable group of fields:
Here is a small example that shows how easy it is to create a repeatable `URL` field:

```vue
<template>
Expand All @@ -143,7 +143,7 @@ Here is a small example that shows how easy it is to create a repeatable group o
<button type="button" @click="remove(idx)">Remove</button>
</div>
<button type="button" @click="push({ id: Date.now(), name: '', url: '' })">Add</button>
<button type="button" @click="push('')">Add</button>
</FieldArray>
<button>Submit</button>
Expand Down

0 comments on commit 7c621ab

Please sign in to comment.