Subject: | $form->process( inactive => [...] ) - inactive fields still displayed |
Hello,
Attempting to dynamically deactivate fields with:
$form->process( inactive => [...] )
still renders the inactive fields.
The field has its _active flag set correctly, but
HTML::FormHandler::Fields::sorted_fields seems to not be testing the
inactive and _active fields correctly.
I have a test case and a possible fix which I will submit shortly as a
pull request.
Version information:
HTML-FormHandler-0.34001
This is perl 5, version 12, subversion 2 (v5.12.2) built for
x86_64-linux-thread-multi
Debian 6.0.2
Linux 2.6.32-4-pve #1 SMP Mon May 9 12:59:57 CEST 2011 x86_64 GNU/Linux