Enable phone field type (#5052)
### Description Enable phone field type ### Refs https://github.com/twentyhq/twenty/issues/2700 ### Demo https://github.com/twentyhq/twenty/assets/140154534/e9810718-9916-4ad4-a080-4d718777de15 Fixes #2700 --------- Co-authored-by: gitstart-twenty <gitstart-twenty@users.noreply.github.com> Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
This commit is contained in:
committed by
GitHub
parent
485670c823
commit
268c6b44d9
@ -100,7 +100,11 @@ export const SETTINGS_FIELD_TYPE_CONFIGS: Record<
|
||||
Icon: IconRelationManyToMany,
|
||||
},
|
||||
[FieldMetadataType.Email]: { label: 'Email', Icon: IconMail },
|
||||
[FieldMetadataType.Phone]: { label: 'Phone', Icon: IconPhone },
|
||||
[FieldMetadataType.Phone]: {
|
||||
label: 'Phone',
|
||||
Icon: IconPhone,
|
||||
defaultValue: '+1234-567-890',
|
||||
},
|
||||
[FieldMetadataType.Probability]: {
|
||||
label: 'Rating',
|
||||
Icon: IconTwentyStar,
|
||||
|
||||
@ -74,6 +74,7 @@ const previewableTypes = [
|
||||
FieldMetadataType.Text,
|
||||
FieldMetadataType.Address,
|
||||
FieldMetadataType.RawJson,
|
||||
FieldMetadataType.Phone,
|
||||
];
|
||||
|
||||
export const SettingsDataModelFieldSettingsFormCard = ({
|
||||
|
||||
Reference in New Issue
Block a user