todo entries
authorMischa Poslawsky <mischa@mediadesign.nl>
Fri, 1 Aug 2008 18:58:54 +0000 (20:58 +0200)
committerMischa Poslawsky <mischa@mediadesign.nl>
Fri, 1 Aug 2008 18:58:54 +0000 (20:58 +0200)
lib/HTML/Form/Simple.pm

index 2b30d79007059e5051a1210114ba2d5fed58359e..33da2b65f34854ce7e2fbc8510b7ee4dae9b5df2 100644 (file)
@@ -219,6 +219,8 @@ sub check {
 
 1;
 
+__END__
+
 =head1 NAME
 
 HTML::Form::Simple - Generate HTML form elements
@@ -246,6 +248,36 @@ HTML::Form::Simple - Generate HTML form elements
        );
        say $input->stop; # </form>
 
+=head1 TODO
+
+=over
+
+=item C<radio>|C<check> parameter order
+
+Row options (hash ref details) are inconsistent:
+on labels for C<check>, on values for C<radio>.
+Make behaviour more logical.
+
+=item C<default()> method
+
+       $input->hidden(foo => $input->default('foo'));
+       $hash_ref = $input->default;
+       $input->default('foo') = 'new value';
+       undef $input->default;  # clear all
+               # XXX: does this equal $input->default=undef;?
+       $input->default = {amend => 'stuff'};
+
+=item documentation
+
+Actual descriptions instead of just a synopsis.
+
+=item C<quote> override
+
+Allow custom value quotation function.
+Makes L<XML::Quote|XML::Quote> dependency optional.
+
+=back
+
 =head1 AUTHOR
 
 Mischa POSLAWSKY <perl@shiar.org>