Skip to Content
Menu
This question has been flagged
9919 Zobrazenia

I have a model with some Integer fields which represent times in seconds. 

I would like to display these fields not as integers but as a time HH:MM:SS using something like <field name="int_field" widget="int_time"/> similar to how you would use the float_time widget. 

How do I create and register such a custom widget?

Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
2
dec 17
6827
1
júl 24
1995
0
sep 23
1826
0
sep 23
1521
1
júl 23
4443