Hello!

Example in manual for HTML::FormFu::Model::DBIC does not, repeat NOT work properly.

         ---
          element:
            - type: Repeatable
              nested_name: authors
              model_config:
                delete_if_true: delete

              elements:
                - type: Hidden
                  name: id

                - type: Text
                  name: author

                - type: Checkbox
                  name: delete

upon call of default_values, relation will be cleaned. It's a side effect of naming checkbox, just name it 'del', 'remove', 'clean' or something else. I'll try to write a test case today.

Alex.


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

Reply via email to