Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
10235 Tampilan

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
Buang
Post Terkait Replies Tampilan Aktivitas
2
Des 17
7085
1
Jul 24
2586
0
Sep 23
2278
0
Sep 23
1994
1
Jul 23
4958