(field) ? (
-
- {addLabel ? (
-
- {cloneElement(field, {
- ...field.props,
- label: getLabel(field.props.source),
- record,
- source: getSource(
- field.props.source,
- locale
- ),
- })}
-
- ) : typeof field === 'string' ? (
- field
- ) : (
- cloneElement(field, {
- ...field.props,
- label: getLabel(field.props.source),
- record,
- source: getSource(field.props.source, locale),
- })
- )}
-
+
+
+
+
+ {addLabel ? (
+
+ {field}
+
+ ) : (
+ field
+ )}
+
+
+
+
) : null
)}