We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2d4968c commit 0e628acCopy full SHA for 0e628ac
panel/src/components/Forms/Field/FilesField.vue
@@ -55,11 +55,14 @@ export default {
55
}
56
57
58
- await this.$panel.content.update({
59
- [this.name]: this.selected
60
- });
61
-
+ // send the input event
+ // the content object gets updated
62
this.onInput();
+
+ // the `$panel.content.update()` event sends
63
+ // the updated form value object to the server
64
+ this.$panel.content.update();
65
66
this.$events.emit("file.upload");
67
this.$events.emit("model.update");
68
0 commit comments