Skip to Content
Menú
This question has been flagged
1 Respondre
5218 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
2906
1
de maig 25
4466
1
d’abr. 25
2114
3
de set. 24
15581
2
de febr. 24
3125