Grid field used as a configField doesn't work properly
Closed this issue ยท 7 comments
Bug Description
When I add a grid field inside an Addon's configFields, everything is displayed properly, but when adding a row, nothing happens and a console error is shown.
How to Reproduce
Here's how I can recreate the bug:
- Create an addon with a grid field inside configFields
- Try to add a row
- See JS error in console
Expected Behavior
The ability to add a row to the grid
Screenshot/Exception
Environment
Statamic version: 3.0.0.-beta-22
Install method:
Fresh install from statamic/statamic
PHP version: 7.4
Operating System:
MacOS
Browser:
Firefox
Can you share your code for how you implemented the grid field?
Ah, this is because "meta" fields (fields that have their own fields) are not currently supported for use as config fields.
This issue has not had recent activity and has been marked as stale โ by me, a robot. Simply reply to keep it open and send me away. If you do nothing, I will close it in a week. I have no feelings, so whatever you do is fine by me.
Still needs fixin' ๐
This is still broken over a full year later. :(
Make sure to thumbs up, some day it'll get on the priority list! ๐