Commit 2cb08d3
fix(drag-handle-vue-2): fix vue2 warnign about objects as default (#6857)
* fix(drag-handle-vue-2): use factory function for default
Vue2 requires factory functions for defaults for objects and arrays.
Prevent the warning
> Invalid default value for prop "PluginKey": Props with type Object/Array must use a factory function to return the default value.
Signed-off-by: Max <max@nextcloud.com>
* Fix prop default handling for Vue 2
---------
Signed-off-by: Max <max@nextcloud.com>
Co-authored-by: bdbch <6538827+bdbch@users.noreply.github.com>1 parent d3773c7 commit 2cb08d3
File tree
3 files changed
+11
-1
lines changed- .changeset
- packages/extension-drag-handle-vue-2/src
3 files changed
+11
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
0 commit comments