|
|
@ -2,8 +2,9 @@ |
|
|
|
import type { ColumnType } from 'nocodb-sdk' |
|
|
|
import type { ColumnType } from 'nocodb-sdk' |
|
|
|
import { storeToRefs } from 'pinia' |
|
|
|
import { storeToRefs } from 'pinia' |
|
|
|
import { |
|
|
|
import { |
|
|
|
|
|
|
|
ActiveCellInj, |
|
|
|
ColumnInj, |
|
|
|
ColumnInj, |
|
|
|
EditModeInj, |
|
|
|
IsFormInj, |
|
|
|
ReadonlyInj, |
|
|
|
ReadonlyInj, |
|
|
|
computed, |
|
|
|
computed, |
|
|
|
isBoolean, |
|
|
|
isBoolean, |
|
|
@ -182,6 +183,10 @@ const hasExtraPadding = $computed(() => { |
|
|
|
isYear(column.value, abstractType)) |
|
|
|
isYear(column.value, abstractType)) |
|
|
|
) |
|
|
|
) |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// provide the following to override the default behavior and enable input fields like in form |
|
|
|
|
|
|
|
provide(ActiveCellInj, ref(true)) |
|
|
|
|
|
|
|
provide(IsFormInj, ref(true)) |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
<template> |
|
|
|
<template> |
|
|
|