Skip to content

A self-hosted media server and file management system

fix: uncaught error in multi chip input for using $el instead of el

aminnausinea46a9a6a58d
diff --git a/resources/js/components/cedar-ui/multi-select/InputMultiChip.vue b/resources/js/components/cedar-ui/multi-select/InputMultiChip.vue
index 7fcf47b3..1a63c6b9 100644
--- a/resources/js/components/cedar-ui/multi-select/InputMultiChip.vue
+++ b/resources/js/components/cedar-ui/multi-select/InputMultiChip.vue
@@ -236,7 +236,7 @@ watch(
<TextInput
v-model="newValue"
@focus="selectButton?.scrollIntoView({ behavior: 'smooth', block: 'center' })"
- @change="selectInput?.$el.scrollIntoView({ behavior: 'smooth', block: 'center' })"
+ @change="selectInput?.el?.scrollIntoView({ behavior: 'smooth', block: 'center' })"
@keydown.enter.stop="handleCreate"
@keydown.space.stop=""
ref="selectInput"