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

label_tag for fieldset has no effect in Widget::Block #134

Open
tbe opened this issue Apr 5, 2017 · 0 comments
Open

label_tag for fieldset has no effect in Widget::Block #134

tbe opened this issue Apr 5, 2017 · 0 comments

Comments

@tbe
Copy link

tbe commented Apr 5, 2017

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.

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

No branches or pull requests

1 participant