You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default, v-model value is taken from event's `detail.${targetAttr}` property.
430
+
This behavior can be overridden by setting `eventAttr` property on the `ComponentModelConfig`:
431
+
```tsx
432
+
eventAttr: 'detail.nested.value'
433
+
```
434
+
In this example, if event emits a custom structure like `{ detail: { nested: { value: 'some value' } } }`, the `v-model` will be set to `'some value'`.
0 commit comments