Skip to Content
Menú
This question has been flagged
1 Respondre
4904 Vistes

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
Descartar
Best Answer

Hi,

you can use a fields.selection :

 'number': fields.selection([
                      ('1','1'),  
                      ('2','2'),     
                      ('3','3'),                     
                      ('4','5'), ], 'Number',)
Avatar
Descartar
Related Posts Respostes Vistes Activitat
3
de maig 25
1760
1
de maig 25
3688
1
d’abr. 25
1295
3
de set. 24
14215
2
de febr. 24
2483