Signed-off-by: soupette <cyril.lpz@gmail.com>
This commit is contained in:
soupette 2020-04-29 11:34:12 +02:00
parent 5f43f72119
commit b9bd8085d6

View File

@ -29,7 +29,7 @@ const createDefaultForm = (attributes, allComponentsSchema) => {
);
if (required === true) {
acc[current] = repeatable === true ? [] : {};
acc[current] = repeatable === true ? [] : currentComponentDefaultForm;
}
if (min && repeatable === true && required) {