π₯ π₯ π₯ A Free & Self-hostable Airtable Alternative
TypeScript airtableairtable-alternativeautomatic-apihacktoberfestlow-codeno-codeno-code-databaseno-code-platformpostgresqlrest-apirestful-apispreadsheetsqliteswagger
fix(nc-gui): Invalid prop: type check failed for prop "modelValue". Expected String with value "undefined", got Undefined at AiPromptWithFields
Ramesh Mane380a2f4821fd
diff --git a/packages/nc-gui/components/ai/PromptWithFields.vue b/packages/nc-gui/components/ai/PromptWithFields.vueindex 38a6ab9014..4f7e139764 100644--- a/packages/nc-gui/components/ai/PromptWithFields.vue+++ b/packages/nc-gui/components/ai/PromptWithFields.vue@@ -10,7 +10,7 @@ import { FieldMentionList, Paragraph } from '~/helpers/tiptap-markdown/extensionconst props = withDefaults(defineProps<{- modelValue: string+ modelValue?: stringoptions?: ColumnType[]autoFocus?: booleanpromptFieldTagClassName?: string@@ -39,7 +39,7 @@ const props = withDefaults(const emits = defineEmits(['update:modelValue', 'keydown'])const vModel = computed({- get: () => props.modelValue,+ get: () => props.modelValue ?? '',set: (v) => {emits('update:modelValue', v)},