Essentially, this function converts a list of FormCustomFieldDefinitionValues
and converts them to FormCustomFieldDefinition<T, string> by translating the labels.
The output of this function can then be passed to renderFormCustomFields in
the design-system package to render the custom fields.
Translates the labels of custom fields.
Essentially, this function converts a list of FormCustomFieldDefinitionValues
and converts them to FormCustomFieldDefinition<T, string> by translating the labels.
The output of this function can then be passed to renderFormCustomFields in the design-system package to render the custom fields.