Closed cbichis closed 1 day ago
I think this part is meant:
The corresponding tests do not contain anything for a hidden form element:
Yes.
@cbichis it should be fixed in https://github.com/neilime/twbs-helper-module/releases/tag/v6.1.0
Let me know
Thanks, it seems to be fixed!
Describe the bug The Laminas Form use_hidden_element option makes the view helper to prepend a hidden form input, which is useful for the case there is no selection for multi-checkbox. Possibly for other form elements but I havent tested.
However, TWBS helper module is not inserting this hidden form input if the option is set to true
To Reproduce Steps to reproduce the behavior:
On TwbsHelper\Form\View\Helper\MultiCheckboxTrait by example the $tmpContent contains the hidden form element.
But this is stripped out of the final $content.