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

Skip rendering fields in form if form_snippet is false #168

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

amercader
Copy link
Member

Allow fields to not be displayed in the form if you want to deal with them internally or manually add them to another snippet.

I used false instead of null to keep the current behaviour of using the text snippet if form_snippet was not defined.

Allow fields to not be displayed in the form if you want to deal with
them internally or manually add them to another snippet.
@amercader
Copy link
Member Author

@wardi let me know if you are happy with this and I'll add docs and tests if so

Copy link
Contributor

@LukeTully LukeTully left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is old as hell but it looks good.

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