Yes, I can confirm there is a bug.

With this model:

db.define_table('testdb',Field('test','datetime', requires=IS_DATETIME()))

I have this html using SQLFORM:

[...] <input class="string" id="testdb_test" name="test" type="text"
value="" /> [..]

class should be datetime, not string!

2011/12/3 Carlos <carlosgali...@gmail.com>:
> Hi,
>
> Is DATE widget broken in trunk?.
>
> Previously when I had a 'date' type field (with no widget), it was
> automatically assigned the 'date' class with a date picker.
>
> Now, even if I explicitly assign a DATE widget
> (SQLFORM.widgets.date.widget), it generates an input with 'string' class and
> no date picker.
>
> Can you please check into this?.
>
> Thanks,
>
>    Carlos
>



-- 
Profile: http://www.gild.com/compagnucciangelo
Register on Gild: http://www.gild.com/referral/compagnucciangelo

Reply via email to