diff --git a/packages/nc-gui/components/cell/DatePicker.vue b/packages/nc-gui/components/cell/DatePicker.vue index 39d807774b..f137d7ef63 100644 --- a/packages/nc-gui/components/cell/DatePicker.vue +++ b/packages/nc-gui/components/cell/DatePicker.vue @@ -104,7 +104,7 @@ const placeholder = computed(() => { if (isEditColumn.value && (modelValue === '' || modelValue === null)) { return t('labels.optional') } else if (modelValue === null && showNull.value) { - return t('general.null') + return t('general.null').toUpperCase() } else if (isDateInvalid.value) { return t('msg.invalidDate') } else { diff --git a/packages/nc-gui/components/cell/DateTimePicker.vue b/packages/nc-gui/components/cell/DateTimePicker.vue index 321b42adae..381feff1bb 100644 --- a/packages/nc-gui/components/cell/DateTimePicker.vue +++ b/packages/nc-gui/components/cell/DateTimePicker.vue @@ -157,7 +157,7 @@ const placeholder = computed(() => { if (isEditColumn.value && (modelValue === '' || modelValue === null)) { return t('labels.optional') } else if (modelValue === null && showNull.value) { - return t('general.null') + return t('general.null').toUpperCase() } else if (isDateInvalid.value) { return t('msg.invalidDate') } else { diff --git a/packages/nc-gui/components/cell/Decimal.vue b/packages/nc-gui/components/cell/Decimal.vue index aad130039f..9e02452f04 100644 --- a/packages/nc-gui/components/cell/Decimal.vue +++ b/packages/nc-gui/components/cell/Decimal.vue @@ -112,7 +112,7 @@ watch(isExpandedFormOpen, () => { @selectstart.capture.stop @mousedown.stop /> - {{ $t('general.null') }} + {{ $t('general.null') }} {{ displayValue }} diff --git a/packages/nc-gui/components/cell/Duration.vue b/packages/nc-gui/components/cell/Duration.vue index b4bf77263c..cde8bdf2ee 100644 --- a/packages/nc-gui/components/cell/Duration.vue +++ b/packages/nc-gui/components/cell/Duration.vue @@ -111,7 +111,7 @@ const focus: VNodeRef = (el) => @mousedown.stop /> - {{ $t('general.null') }} + {{ $t('general.null') }} {{ localState }} diff --git a/packages/nc-gui/components/cell/Percent.vue b/packages/nc-gui/components/cell/Percent.vue index 94acc9186a..3ae6d120fd 100644 --- a/packages/nc-gui/components/cell/Percent.vue +++ b/packages/nc-gui/components/cell/Percent.vue @@ -143,7 +143,7 @@ const onTabPress = (e: KeyboardEvent) => { @selectstart.capture.stop @mousedown.stop /> - {{ $t('general.null') }} + {{ $t('general.null') }}
{ if (isEditColumn.value && (modelValue === '' || modelValue === null)) { return t('labels.optional') } else if (modelValue === null && showNull.value) { - return t('general.null') + return t('general.null').toUpperCase() } else if (isTimeInvalid.value) { return t('msg.invalidTime') } else { diff --git a/packages/nc-gui/components/cell/Url.vue b/packages/nc-gui/components/cell/Url.vue index b624417e93..f5f5f06a1d 100644 --- a/packages/nc-gui/components/cell/Url.vue +++ b/packages/nc-gui/components/cell/Url.vue @@ -108,7 +108,7 @@ watch( @mousedown.stop /> - $t('general.null') + {{$t('general.null')}} { if (isEditColumn.value && (modelValue === '' || modelValue === null)) { return t('labels.optional') } else if (modelValue === null && showNull.value) { - return t('general.null') + return t('general.null').toUpperCase() } else if (isYearInvalid.value) { return t('msg.invalidTime') } else {