getgrav / getgrav/grav-plugin-form
checkbox field misses append and prepend
- Dominant language
- PHP
- Stars
- 64
- Forks
- 80
- Avg merge
- 10h 13m
- Merged PRs (30d)
- 9
Description
As per https://learn.getgrav.org/17/admin-panel/extending#adding-a-custom-field, using `prepend` or `append` block.
But the checkbox field (and maybe others) overrides the whole `input` block **without** providing the same extension sub-blocks (namely `prepend` or `append`)
A somehow related problem is that create such an override (at `
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the checkbox template at , the related forms/field.html.twig guidance, and the documented prepend/append example. Compare the checkbox input block with the extension points described there; done means those blocks work for checkbox fields and a field-specific extension no longer causes the reported recursive failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 58/100