diff --git a/packages/nc-gui-v2/components/cell/PhoneNumber.vue b/packages/nc-gui-v2/components/cell/PhoneNumber.vue new file mode 100644 index 0000000000..d40fb3ae12 --- /dev/null +++ b/packages/nc-gui-v2/components/cell/PhoneNumber.vue @@ -0,0 +1,23 @@ + + + + + diff --git a/packages/nc-gui-v2/components/smartsheet-header/CellIcon.vue b/packages/nc-gui-v2/components/smartsheet-header/CellIcon.vue index 45551d4d47..cab337fbdc 100644 --- a/packages/nc-gui-v2/components/smartsheet-header/CellIcon.vue +++ b/packages/nc-gui-v2/components/smartsheet-header/CellIcon.vue @@ -1,6 +1,7 @@ @@ -183,6 +184,7 @@ todo : + diff --git a/packages/nc-gui-v2/composables/useColumn.ts b/packages/nc-gui-v2/composables/useColumn.ts index f71afb6015..cb125fd365 100644 --- a/packages/nc-gui-v2/composables/useColumn.ts +++ b/packages/nc-gui-v2/composables/useColumn.ts @@ -30,6 +30,7 @@ export function useColumn(column: ColumnType) { const isAttachment = uiDatatype === 'Attachment' const isRating = uiDatatype === UITypes.Rating const isCurrency = uiDatatype === 'Currency' + const isPhoneNumber = uiDatatype === 'PhoneNumber' const isDuration = uiDatatype === UITypes.Duration const isPercent = uiDatatype === UITypes.Percent const isAutoSaved = [ @@ -74,5 +75,6 @@ export function useColumn(column: ColumnType) { isSingleSelect, isMultiSelect, isPercent, + isPhoneNumber, } }