Skip to Content
Menú
This question has been flagged
1 Respondre
5130 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
2562
1
de maig 25
4191
1
d’abr. 25
1926
3
de set. 24
15219
2
de febr. 24
2968