mirror of
https://github.com/strapi/strapi.git
synced 2025-08-08 08:46:42 +00:00
parent
5f43f72119
commit
b9bd8085d6
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user