html-formhandler icon indicating copy to clipboard operation
html-formhandler copied to clipboard

`label_tag` for fieldset has no effect in Widget::Block

Open tbe opened this issue 8 years ago • 0 comments

In the documentation for HTML::FormHandler::Widget::Block, the label_tag attributed is documented as:

Tag to use for the label. Default: 'span'; default for 'fieldset' is 'legend'.

As this is true for span, the tag legend is enforced for fieldset.

https://github.com/gshank/html-formhandler/blob/master/lib/HTML/FormHandler/Widget/Block.pm#L151

The documentation or the could should be fixed.

tbe avatar Apr 05 '17 16:04 tbe