2008/4/23 Moritz Onken <[EMAIL PROTECTED]>: > Hi, > attached is a test which fails if you add more than one item to a has-many > relationship: > > I hope I didn't miss a config switch?!
At the moment, the 'new_empty_row' option only allows you to add 1 new row. Yes, supporting more than 1 row would be good. First off, you could test whether it works by deleting line 383 from lib/HTML/FormFu/Model/DBIC.pm - it's the line that reads "&& $i == $max" I think though, that this new behaviour should be off by default, with a new option to switch it on. I wondering whether this option's value should be a number, that can control the maximum allowed number of new rows? Carl _______________________________________________ HTML-FormFu mailing list [email protected] http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu
