diff --git a/src/pages/QuickEditForm.vue b/src/pages/QuickEditForm.vue
index dadb308f..3780db8e 100644
--- a/src/pages/QuickEditForm.vue
+++ b/src/pages/QuickEditForm.vue
@@ -50,27 +50,35 @@
valueChange(imageField, value)"
- size="small"
:letter-placeholder="doc[titleField.fieldname]?.[0] ?? ''"
/>
valueChange(titleField, value)"
- @input="setTitleSize"
/>
@@ -224,9 +232,6 @@ export default {
if (this.values) {
this.doc?.set(this.values);
}
-
- // set title size
- this.setTitleSize();
},
setTitleField() {
const { fieldname, readOnly } = this.titleField;
@@ -318,16 +323,6 @@ export default {
this.$emit('close');
}
},
- setTitleSize() {
- if (!this.$refs.titleControl) {
- return;
- }
-
- const input = this.$refs.titleControl.getInput();
- const value = input.value;
- const valueLength = (value || '').length + 1;
- input.size = Math.max(valueLength, 15);
- },
},
};