}>
- {({ ref, value, ...rest }) => (
-
+ {fields.map((field, index) => {
+ const schemaLabel = getSchemaLabel(index);
+ return (
+
+ {schemaLabel === undefined ? (
+ }>
+ {({ ref, value, ...rest }) => (
+
+ )}
+
+ ) : (
+
)}
-
- }>
- {({ ref, value, ...rest }) => (
-
+ }>
+ {({ ref, value, id, ...rest }) => (
+
+ )}
+
+ {schemaLabel === undefined && (
+
)}
-
-
-
- ))}
+