mirror of
https://github.com/twentyhq/twenty.git
synced 2024-11-27 11:03:40 +03:00
Reactivate Select in emptyValue generation
This commit is contained in:
parent
47ac97dd25
commit
8d2758ee5e
@ -41,6 +41,9 @@ export const generateEmptyFieldValue = (
|
|||||||
case FieldMetadataType.Relation: {
|
case FieldMetadataType.Relation: {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
case FieldMetadataType.Select: {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
case FieldMetadataType.Currency: {
|
case FieldMetadataType.Currency: {
|
||||||
return {
|
return {
|
||||||
amountMicros: null,
|
amountMicros: null,
|
||||||
@ -49,8 +52,7 @@ export const generateEmptyFieldValue = (
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
case FieldMetadataType.MultiSelect:
|
case FieldMetadataType.MultiSelect: {
|
||||||
case FieldMetadataType.Select: {
|
|
||||||
throw new Error('Not implemented yet');
|
throw new Error('Not implemented yet');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user