[html-formfu] Re: setting fieldset title

Mario Minati mario.minati at googlemail.com
Thu Jun 18 00:04:04 GMT 2009


Am Mittwoch 17 Juni 2009 20:05:28 schrieb Adam Witney:
> On 17 Jun 2009, at 17:09, Carl Franks wrote:
> > 2009/6/17 Adam Witney <awitney at sgul.ac.uk>:
> >> Is it possible to add attributes to the Fieldset also eg
> >>
> >>        checkboxToggle: true
> >>        collapsed: true
> >
> > Hi,
> >
> >> From what I can tell, it looks like
> >> HTML::FormFu::ExtJS::Element::Fieldset's
> >
> > render() method ignores any other attributes.
>
> is there a reason for this? or could it easily be made to use
> attributes?
>
> > btw, the reason your first attempt didn't work is because it
> > explicitly uses:
> >    title => $self->legend
>
> ah yes, i see that in the code now. Again though is there a reason for
> this? using 'legend' rather than just using 'title'?

I just uploaded a fix (rev. 1531) that should add support for attributes to 
FieldSet.

Greets,

Mario



More information about the HTML-FormFu mailing list