We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a845412 commit 9d22a7aCopy full SHA for 9d22a7a
1 file changed
custom/BulkActionButton.vue
@@ -1,5 +1,6 @@
1
<template>
2
<Dialog
3
+ ref="dialogRef"
4
class="w-[600px]"
5
:buttons="[
6
{
@@ -86,6 +87,16 @@
86
87
clearCheckboxes: () => void;
88
}>();
89
90
+
91
+ const dialogRef = ref();
92
+ async function openDialog(dialog: any) {
93
+ dialogRef.value.open();
94
+ }
95
96
+ defineExpose({
97
+ click: openDialog,
98
+ });
99
100
const checkedLanguages = ref<Record<string, boolean>>({});
101
const isLoading = ref(false);
102
const allChecked = computed(() => Object.values(checkedLanguages.value).every(Boolean));
0 commit comments