getgrav / getgrav/grav-plugin-form
checkboxes are not rendered in data.html.twig email body when used in fieldsets
- Dominant language
- PHP
- Stars
- 64
- Forks
- 80
- Avg merge
- 10h 13m
- Merged PRs (30d)
- 9
Description
Like I mentioned in another issue, something seems broken with the `checkbox.html.twig` template.
I define checkbox fields like this in my `form.md`
```
beratung:
type: checkbox
outerclasses: px1 w12 mb1
label: "Beratung vor Ort"
```
But when sending the email, they will not appear in the email body.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reading the checkbox.html.twig and data.html.twig templates, then reproduce the issue with a checkbox field inside a fieldset in form.md. Compare the generated email body with the submitted form data. Done means checkbox fields used in fieldsets appear correctly in the email body.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100