Subject: | Can't save empty numeric fields |
I'm not sure whether this should go in RDBO or here -- it's an interaction issue between them.
Basically, Rose::HTML::Form with a non-required "number" field type results in an empty string
when the user leaves the field blank. That's not valid for a numeric field in PostgreSQL, so it
ends up causing an SQL error. I'm working around it with a trivial filter that returns undef for
empty fields, but it seems like this should be built in somewhere. I just don't know where. Or
how.
Thanks for the excellent modules, and any consideration you can apply to this issue.