scan5415 / grav-plugin-form-database

MIT License
15 stars 10 forks source link

fixed POST data getter #3

Open codebakery-ch opened 7 years ago

codebakery-ch commented 7 years ago

Seems like the Forms are submitted with an array('data'). This does not get called when saving, generating empty entries.

codebakery-ch commented 7 years ago

I am not so sure if this is needed... there is scope attribute in the form.html.twig {% set scope = scope ?: 'data.' %} ...