Signed-off-by: Pranav C <pranavxc@gmail.com>
@ -53,7 +53,7 @@ const currency = computed(() => {
}
})
const isExpandedFormOpen = inject(IsExpandedFormOpenInj)!
const isExpandedFormOpen = inject(IsExpandedFormOpenInj, ref(false))!
const focus: VNodeRef = (el) => !isExpandedFormOpen && (el as HTMLInputElement)?.focus()
@ -36,7 +36,7 @@ const vModel = computed({
},
</script>
@ -74,7 +74,7 @@ const submitDuration = () => {
isEdited.value = false
@ -35,7 +35,7 @@ const vModel = computed({
const validEmail = computed(() => vModel.value && validateEmail(vModel.value))
@ -27,7 +27,7 @@ const vModel = computed({
@ -23,7 +23,7 @@ const readonly = inject(ReadonlyInj, ref(false))
const vModel = useVModel(props, 'modelValue', emits)
@ -19,7 +19,7 @@ const { showNull } = useGlobal()
const vModel = useVModel(props, 'modelValue', emits, { defaultValue: '' })
const focus: VNodeRef = (el) => !isExpandedFormOpen && (el as HTMLTextAreaElement)?.focus()
@ -63,7 +63,7 @@ const url = computed(() => {
const { cellUrlOptions } = useCellUrlConfig(url)