Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
10061 Zobrazení

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šit
Related Posts Odpovědi Zobrazení Aktivita
2
pro 17
6961
1
čvc 24
2362
0
zář 23
2080
0
zář 23
1828
1
čvc 23
4749