Skip to content

Commit

Permalink
fix: moving cvId and isLight per #1549
Browse files Browse the repository at this point in the history
  • Loading branch information
davidnixon committed Dec 8, 2023
1 parent 525bc93 commit 56be4b7
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/components/CvDatePicker/CvDatePicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@
:pattern="pattern"
:placeholder="placeholder"
@change="handleUpdateEvent"
@click="handleClick"
/>
<Calendar16
v-if="['single', 'range'].includes(getKind)"
Expand Down Expand Up @@ -136,9 +135,6 @@ const dateWrapper = ref(null);
const date = ref(null);
const todate = ref(null);
const cvId = useCvId(props, true, 'date-picker-');
const isLight = useIsLight(props);
let calendar;
const props = defineProps({
Expand Down Expand Up @@ -169,6 +165,9 @@ const props = defineProps({
...propsCvTheme,
});
const cvId = useCvId(props, true, 'date-picker-');
const isLight = useIsLight(props);
const emit = defineEmits(['update:modelValue']);
const getKind = computed({
Expand Down

0 comments on commit 56be4b7

Please sign in to comment.