Se rendre au contenu
Menu
Cette question a été signalée
10280 Vues

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
Ignorer
Publications associées Réponses Vues Activité
2
déc. 17
7103
1
juil. 24
2602
0
sept. 23
2299
0
sept. 23
2017
1
juil. 23
4990