Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 599dde7

Browse files
committed
Fixes #15 - schema parameter improperly documented
1 parent f711e2e commit 599dde7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎component/events.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ You can listen for this by attaching to the `@validated` (`v-validated`) event o
1919

2020
## model-updated
2121

22-
This event is triggered whenever the the model attached to the form has been updated, usually due to user interaction. It provides the new value and a reference to the field schema for the field which was just updated. This event is triggered each time a field is updated.
22+
This event is triggered whenever the the model attached to the form has been updated, usually due to user interaction. It provides the new value and a reference to the property name for the field which was just updated. This event is triggered each time a field is updated.
2323

2424
Internally, the event is triggered with
2525
```js
2626
this.$emit("model-updated", newVal, schema);
2727
```
2828

29-
`newVal` is the value that was just updated, and `schema` is a reference to the individual [field schema](schema.md). `schema` will only contain the individual field data, and not the full schema. This allows you to identify which field was just updated.
29+
`newVal` is the value that was just updated, and `schema` is a reference to the model's property name found in the [field schema](schema.md). `schema` will only contain the individual property name, and not the full schema. This allows you to identify which field was just updated.
3030

3131
You can listen for this by attaching to the `@model-updated` (`v-model-updated`) event on the `<vue-form-generator />` component.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /