Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
10227 Vizualizări

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?

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
2
dec. 17
7069
1
iul. 24
2583
0
sept. 23
2277
0
sept. 23
1989
1
iul. 23
4953