statamic-factory
statamic-factory copied to clipboard
Add support for imported fieldsets
I've been testing a bit with this addon in a new statamic project.
Right now it seems that whenever a fieldset is present in the blueprint (even when there's no factory settings for that fieldset), I get the error Undefined array key "field".
The only solution so far seems to be to comment out any fieldsets from the blueprint when running the factory.
Do you think it could be an easy solution to simply ignore any fieldsets (I think they can be recognised by the import key) for now?
Edit:
Or maybe even better, ignore any fields without the field array key
That sounds like a reasonable workaround for now. Feel free to open a PR.
Allright, I'll try to do it (hopefully soon), I'll pass you a PR when it's done
Imported fieldsets will work with the next major release.