mirror of
https://github.com/strapi/strapi.git
synced 2025-08-09 01:07:27 +00:00
parent
5f43f72119
commit
b9bd8085d6
@ -29,7 +29,7 @@ const createDefaultForm = (attributes, allComponentsSchema) => {
|
|||||||
);
|
);
|
||||||
|
|
||||||
if (required === true) {
|
if (required === true) {
|
||||||
acc[current] = repeatable === true ? [] : {};
|
acc[current] = repeatable === true ? [] : currentComponentDefaultForm;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (min && repeatable === true && required) {
|
if (min && repeatable === true && required) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user