-
-
-
-
+ {/* Text and number input fields */}
+ {textFields.map(({ id, label, type, min, max }) => (
+
+
+
+
+ ))}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+ {selectFields.map(({ id, label, options }) => (
+
+
+
+ {isLoading && (
+
Loading {label.toLowerCase()}...
+ )}
+
+ ))}