Skip to Content
Menu
This question has been flagged
1 Odpoveď
4915 Zobrazenia

There a way to create/use a component that allows me to select from a range of values​​, something like this the type "number" of html5.

Thanks

Avatar
Zrušiť
Best Answer

Hi,

you can use a fields.selection :

 'number': fields.selection([
                      ('1','1'),  
                      ('2','2'),     
                      ('3','3'),                     
                      ('4','5'), ], 'Number',)
Avatar
Zrušiť
Related Posts Replies Zobrazenia Aktivita
3
máj 25
1764
1
máj 25
3692
1
apr 25
1299
3
sep 24
14221
2
feb 24
2490