Hello!

Trying HTML::FormFu (svn today), I've found that form for editing data with has_many relation cleans relation _sometimes_.

After some investigation, I've discovered that

     - type: Checkbox
       name: delete
       value: 1
       model_config:
         DBIC:
           delete_if_true: 1

cleans up relation, while

     - type: Checkbox
       name: del
       value: 1
       model_config:
         DBIC:
           delete_if_true: 1

works ok.

I guess it should be mentioned somewhere in manuals...

Alex.


_______________________________________________
HTML-FormFu mailing list
[email protected]
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to