Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
5106 Prikazi

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

Hi,

you can use a fields.selection :

 'number': fields.selection([
                      ('1','1'),  
                      ('2','2'),     
                      ('3','3'),                     
                      ('4','5'), ], 'Number',)
Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
3
maj 25
2481
1
maj 25
4146
1
apr. 25
1882
3
sep. 24
15161
2
feb. 24
2933