Skip to content

Commit f6b46c9

Browse files
authored
CustomStyleButton needs to use modelValue in vue3, not value. (baserow#4659)
1 parent 9dcd35a commit f6b46c9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

web-frontend/modules/builder/components/elements/components/forms/style/CustomStyleButton.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export default {
2424
name: 'CustomStyle',
2525
inject: ['openCustomStyleForm'],
2626
props: {
27-
value: {
27+
modelValue: {
2828
type: Object,
2929
required: false,
3030
default: () => undefined,
@@ -66,7 +66,7 @@ export default {
6666
extraArgs: this.extraArgs,
6767
onStylesChanged: this.onStylesChanged,
6868
configBlockTypes: this.configBlockTypes,
69-
defaultStyleValues: this.value?.[this.styleKey],
69+
defaultStyleValues: this.modelValue?.[this.styleKey],
7070
})
7171
},
7272
},

0 commit comments

Comments
 (0)