Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the HTML-FormHandler CPAN distribution.

Report information
The Basics
Id: 82532
Status: resolved
Priority: 0/
Queue: HTML-FormHandler

Owner: Nobody in particular
Requestors: chen.yack [...]

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)

Subject: wrapper compound reset and submit form field
Download (untitled) / with headers
text/plain 963b
my Form defined: has_field 'form_action' => ( type => compound ); has_field 'form_action.reset' => (type => 'Reset'); has_field 'form_action.submit' => ( type => 'Submit'); I want the Rest button and Submit button were wrapped in a div with class of "form-actions": <div class="form-actions"> <input type=submit > <input type=reset > </div> but I got this ,when i use this widget: <div class="form-actions"> <input type=reset > </div> <div class="form-actions"> <input type=submit > </div> I look the code of HTML::FormHandler::Widget::Wrapper::Bootstrap, found that , in line 17, function wrap_field: 17 my $form_actions = 1 if ( $self->name eq 'form_actions' || $self- Show quoted text
>type_attr eq 'submit'
18 || $self->type_attr eq 'reset' ); I think the code should look whether the reset and submit field in a compound field. if that, wrap them together. can i use other method to get it ? if none, i very hope you fix this :) very thanks !
Download (untitled) / with headers
text/plain 158b
Normally you'lll want to set the widget_wrapper of the 'Reset' and 'Submit' fields to 'None' for this cricumstance. That should render the way that you want.

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to