Skip to content

Commit 94d1286

Browse files
committed
# Conflicts: # packages/coreui-vue/src/components/form/CFormInput.ts
2 parents 1e74fac + 42f6663 commit 94d1286

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/coreui-vue/src/components/form/CFormInput.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const CFormInput = defineComponent({
6767
* The default name for a value passed using v-model.
6868
*/
6969
modelValue: {
70-
type: [File, String],
70+
type: [File, Number, String],
7171
default: undefined,
7272
},
7373
/**

packages/coreui-vue/src/directives/v-c-popover.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export default {
9696
})
9797
}
9898
},
99-
unmounted(binding: DirectiveBinding): void {
99+
unmounted(_el: HTMLElement, binding: DirectiveBinding): void {
100100
const popover = binding.arg && document.getElementById(binding.arg)
101101
popover && popover.remove()
102102
},

packages/coreui-vue/src/directives/v-c-tooltip.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ export default {
9292
})
9393
}
9494
},
95-
beforeUnmount(binding: DirectiveBinding): void {
95+
beforeUnmount(_el: HTMLElement, binding: DirectiveBinding): void {
9696
const tooltip = binding.arg && document.getElementById(binding.arg)
9797
tooltip && tooltip.remove()
9898
},

0 commit comments

Comments
 (0)