Skip to content

Commit 35d742a

Browse files
authored
docs(readme): add example for the help attribute
2 parents 0611908 + 7786a36 commit 35d742a

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

+7
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,13 @@ Once submitted, an event 'formSubmitted' is emitted on $root with the formName a
3838
label: 'the label'
3939
}]
4040
```
41+
* **Help text** (putted right after the label, see the age field on the CodeSandbox link)
42+
```js
43+
const formFields = [{
44+
label: 'label one',
45+
help: 'help text content'
46+
}]
47+
```
4148
* **Scoped slot support** everywhere inside the form
4249
```js
4350
const formFields = [{ slot: 'nameOfTheSlot', props: { foo: 'bar' } }]

0 commit comments

Comments
 (0)