Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.x] Pass any appended form config to antlers #10616

Merged

Conversation

ryanmitchell
Copy link
Contributor

One thing I overlooked in #8491 is that you may want to access the new config fields in antlers.

This PR changes that by adding a form_config variable to the antlers scope in form:create tags. The name was the best I could come up with, I wanted to use config but it would clash with the config variable which is potentially being used in form tags.

@jasonvarga jasonvarga merged commit 844509a into statamic:5.x Aug 13, 2024
16 checks passed
@ryanmitchell ryanmitchell deleted the fix/output-extra-form-config-in-antlers branch August 13, 2024 15:55
@ryanmitchell
Copy link
Contributor Author

I had a brain melt, thanks for fixing it.

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