Skip to Content
Menu
This question has been flagged
9931 Rodiniai

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?

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
2
gruod. 17
6833
1
liep. 24
2024
0
rugs. 23
1834
0
rugs. 23
1526
1
liep. 23
4475