@for (fieldId of selectedFields; track fieldId) {
@switch (getCustomField(fieldId)?.data_type) { @case (CustomFieldDataType.String) { } @case (CustomFieldDataType.Date) { } @case (CustomFieldDataType.Integer) { } @case (CustomFieldDataType.Float) { } @case (CustomFieldDataType.Monetary) { } @case (CustomFieldDataType.Boolean) { } @case (CustomFieldDataType.Url) { } @case (CustomFieldDataType.DocumentLink) { } @case (CustomFieldDataType.Select) { } @case (CustomFieldDataType.LongText) { } }
}