π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
fix: review comments
Ramesh Mane1b4f85cb0b9e
diff --git a/packages/nc-gui/components/cell/Text/Editor.vue b/packages/nc-gui/components/cell/Text/Editor.vueindex a4f25572c5..217780103b 100644--- a/packages/nc-gui/components/cell/Text/Editor.vue+++ b/packages/nc-gui/components/cell/Text/Editor.vue@@ -26,7 +26,7 @@ const inputRef = ref<HTMLInputElement | HTMLTextAreaElement>()const focus: VNodeRef = (el) => {if (!isExpandedFormOpen.value && !isEditColumn.value && !isForm.value) {- inputRef.value = (el?.$el as HTMLTextAreaElement) || (el as HTMLInputElement)+ inputRef.value = el as HTMLInputElementinputRef.value?.focus()}}diff --git a/packages/nc-gui/components/nc/AutoSizeTextarea.vue b/packages/nc-gui/components/nc/AutoSizeTextarea.vueindex 6b4be45e55..1be2581a5b 100644--- a/packages/nc-gui/components/nc/AutoSizeTextarea.vue+++ b/packages/nc-gui/components/nc/AutoSizeTextarea.vue@@ -51,15 +51,9 @@ watch(modelValue, (val) => {// β expose textarea DOM element directlydefineExpose({$el: textarea,- focus: () => {- textarea.value?.focus()- },- blur: () => {- textarea.value?.blur()- },- select: () => {- textarea.value?.select()- },+ focus: () => textarea.value?.focus(),+ blur: () => textarea.value?.blur(),+ select: () => textarea.value?.select(),})</script>