Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
5105 Zobrazení

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
Zrušit
Nejlepší odpověď

Hi,

you can use a fields.selection :

 'number': fields.selection([
                      ('1','1'),  
                      ('2','2'),     
                      ('3','3'),                     
                      ('4','5'), ], 'Number',)
Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
3
kvě 25
2480
1
kvě 25
4145
1
dub 25
1880
3
zář 24
15160
2
úno 24
2932