Skip to content

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

chore: revert BBCheckbox changes (#5464)

boojackfadebd7525e9
diff --git a/frontend/src/bbkit/BBCheckbox.vue b/frontend/src/bbkit/BBCheckbox.vue
index c9153681ba..3c0451c9a1 100644
--- a/frontend/src/bbkit/BBCheckbox.vue
+++ b/frontend/src/bbkit/BBCheckbox.vue
@@ -7,13 +7,10 @@
:class="[disabled && !value && 'bg-control-bg']"
:disabled="disabled"
:checked="value"
- @click.prevent="
+ @input="
() => {
on = !on;
$emit('toggle', on);
- // Prevent dirty state.
- // reference: https://stackoverflow.com/questions/74847997/vue3-controlling-checkbox-checked-state-by-a-component-prop
- on = value;
}
"
/>