Skip to content

Add fields parameter to Grid constructor and initialize fields property#41

Merged
tdwesten merged 2 commits intotdwesten:mainfrom
evelynfredin:fix/add-fields-to-grid
Jan 10, 2025
Merged

Add fields parameter to Grid constructor and initialize fields property#41
tdwesten merged 2 commits intotdwesten:mainfrom
evelynfredin:fix/add-fields-to-grid

Conversation

@evelynfredin
Copy link
Contributor

@evelynfredin evelynfredin commented Jan 10, 2025

I noticed the Grid field was not registering the fields array so this is an attempt to fix that.

@tdwesten
Copy link
Owner

Thank you! Could you also update the test? https://github.com/tdwesten/statamic-builder/blob/main/tests/Unit/Fields/GridTest.php

@tdwesten
Copy link
Owner

Super! Merged!

@tdwesten tdwesten merged commit 445acb1 into tdwesten:main Jan 10, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants