Reactivate Select in emptyValue generation

This commit is contained in:
Charles Bochet 2024-01-09 15:12:59 +01:00
parent 47ac97dd25
commit 8d2758ee5e

View File

@ -41,6 +41,9 @@ export const generateEmptyFieldValue = (
case FieldMetadataType.Relation: {
return null;
}
case FieldMetadataType.Select: {
return null;
}
case FieldMetadataType.Currency: {
return {
amountMicros: null,
@ -49,8 +52,7 @@ export const generateEmptyFieldValue = (
};
}
case FieldMetadataType.MultiSelect:
case FieldMetadataType.Select: {
case FieldMetadataType.MultiSelect: {
throw new Error('Not implemented yet');
}
}