+ {values.holders && values.holders.length > 0
+ ? values.holders.map((holder: any, index: number) => (
+
+
+
+
+
+
+
+
+
+ {index !== 0 ? (
+ {
+ if (index !== 0) {
+ arrayHelpers.remove(index)
+ }
+ }}
+ />
+ ) : (
+
+ )}
+
+ ))
+ : null}
+ {errors.holders && touched.holders ?
{errors.holders} : null}
+
+
+
+ arrayHelpers.insert(values.holders.length, newValue)}
+ >
+
+
+ arrayHelpers.insert(values.holders.length, newValue)}
+ color={"secondary"}
+ >
+ Add Member
+
+
+
+
+ )}
+ />
+