Skip Menu |

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

Report information
The Basics
Id: 67711
Status: new
Priority: 0/
Queue: HTML-FormFu

Owner: Nobody in particular
Requestors: rod.taylor [...]

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

Subject: Adjusting empty_first on existing form
Download (untitled) / with headers
text/plain 683b
A form setup by yml file is being adjusted to have an empty_first label set. The below code snippet does not work as expected. my $firstTag = $form->get_field('first_tag'); $firstTag->empty_first_label('[ Select Category ]'); $firstTag->empty_first(1); This code snippet does: my $firstTag = $form->get_field('first_tag'); my $options = $firstTag->options(); $firstTag->empty_first_label('[ Select Category ]'); $firstTag->empty_first(1); $firstTag->options($options); The empty_first value is prefixed onto _options as part of setting options. Ideally it would be setup during the rendering stage and not earlier.

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

Please report any issues with to