Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
5095 Vues

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
Ignorer
Meilleure réponse

Hi,

you can use a fields.selection :

 'number': fields.selection([
                      ('1','1'),  
                      ('2','2'),     
                      ('3','3'),                     
                      ('4','5'), ], 'Number',)
Avatar
Ignorer
Publications associées Réponses Vues Activité
3
mai 25
2465
1
mai 25
4133
1
avr. 25
1873
3
sept. 24
15152
2
févr. 24
2925