Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
4897 Visualizzazioni

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
Abbandona
Risposta migliore

Hi,

you can use a fields.selection :

 'number': fields.selection([
                      ('1','1'),  
                      ('2','2'),     
                      ('3','3'),                     
                      ('4','5'), ], 'Number',)
Avatar
Abbandona
Post correlati Risposte Visualizzazioni Attività
3
mag 25
1750
1
mag 25
3683
1
apr 25
1292
3
set 24
14207
2
feb 24
2479