mirror of
https://github.com/directus/directus.git
synced 2026-01-29 22:57:55 -05:00
Fix repeater's extension options not updating when configured (#11453)
* fix repeater extension options * fix lint warning * change emit to camelCase for consistency
This commit is contained in:
@@ -12,12 +12,12 @@
|
||||
/>
|
||||
|
||||
<component
|
||||
:is="`${type}-options-${extensionInfo.id}`"
|
||||
:is="`${type}-options-${extensionInfo!.id}`"
|
||||
v-else
|
||||
v-model="optionsValues"
|
||||
:value="optionsValues"
|
||||
:collection="collection"
|
||||
:field="field"
|
||||
@input="optionsValues = $event"
|
||||
/>
|
||||
</template>
|
||||
|
||||
@@ -60,7 +60,7 @@ export default defineComponent({
|
||||
default: null,
|
||||
},
|
||||
},
|
||||
emits: ['update:model-value'],
|
||||
emits: ['update:modelValue'],
|
||||
setup(props, { emit }) {
|
||||
const { t } = useI18n();
|
||||
|
||||
@@ -112,7 +112,7 @@ export default defineComponent({
|
||||
return props.modelValue;
|
||||
},
|
||||
set(values: Record<string, any>) {
|
||||
emit('update:model-value', values);
|
||||
emit('update:modelValue', values);
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user