statamic/cms

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:

  1. Create an addon with a grid field inside configFields
  2. Try to add a row
  3. See JS error in console

Expected Behavior

The ability to add a row to the grid

Screenshot/Exception

image

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! ๐Ÿ˜