7171
7272import { applyRegexValidation , callAdminForthApi , loadMoreForeignOptions , searchForeignOptions , createSearchInputHandlers , checkShowIf } from ' @/utils' ;
7373import { computedAsync } from ' @vueuse/core' ;
74- import { computed , onMounted , reactive , ref , watch , provide , type Ref , watchEffect } from ' vue' ;
74+ import { computed , onMounted , reactive , ref , watch , provide , type Ref } from ' vue' ;
7575import { useRouter , useRoute } from ' vue-router' ;
7676import { useCoreStore } from " @/stores/core" ;
7777import GroupsTable from ' @/components/GroupsTable.vue' ;
@@ -84,7 +84,6 @@ const { t } = useI18n();
8484
8585const mutex = new Mutex ();
8686
87-
8887const coreStore = useCoreStore ();
8988const router = useRouter ();
9089const route = useRoute ();
@@ -372,7 +371,6 @@ watch(() => [editableColumns.value, props.validatingMode], async () => {
372371 });
373372
374373 if (props .validatingMode ) {
375- // Here I need to add debounce
376374 debouncedValidation (editableColumns .value );
377375 } else {
378376 isValidating .value = false ;
@@ -424,7 +422,7 @@ provide('columnLoadingState', columnLoadingState);
424422provide (' onSearchInput' , onSearchInput );
425423provide (' loadMoreOptions' , loadMoreOptions );
426424
427- watch (() => isValid .value , async (value ) => {
425+ watch (() => isValid .value , (value ) => {
428426 emit (' update:isValid' , value );
429427});
430428
0 commit comments