[html-formfu] date element setvalue

Tobias Kremer list at funkreich.de
Fri Aug 10 15:00:13 GMT 2007


Quoting Thorsten Domsch <tdomsch at gmx.de>:
>  name.setfromsqlstring would be cool or a method to change the value of a
> single selectbox like name.day.value  or both(which would be best)

Hmm.. I think it would be useful if one could stuff in a DateTime object because
IMHO that's what most users are dealing with if they're using DBIC and
inflate_column. The date element should also return a DateTime object by
default. This, together with DBIx::Class::FormFu will make it way easier to
deal with dates.

--Tobias



More information about the HTML-FormFu mailing list