Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

Make database name field use BBTextField

天舟c43655bbd238
diff --git a/frontend/src/views/TaskSidebar.vue b/frontend/src/views/TaskSidebar.vue
index 38596a7178..31cf3e29e3 100644
--- a/frontend/src/views/TaskSidebar.vue
+++ b/frontend/src/views/TaskSidebar.vue
@@ -159,16 +159,15 @@
}
"
/>
- <input
+ <BBTextField
v-if="state.createNewDatabase"
type="text"
- autocomplete="off"
- class="textfield w-full mt-4"
+ class="w-full mt-4"
+ :required="true"
:ref="customFieldRefList[index]"
- :name="field.id"
:value="fieldValue(field).name"
:placeholder="field.placeholder"
- @input="trySaveDatabaseName(field, $event.target.value)"
+ @end-editing="(text) => trySaveDatabaseName(field, text)"
/>
<DatabaseSelect
v-else