Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
5093 Vistas

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
Mejor respuesta

Hi,

you can use a fields.selection :

 'number': fields.selection([
                      ('1','1'),  
                      ('2','2'),     
                      ('3','3'),                     
                      ('4','5'), ], 'Number',)
Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
3
may 25
2458
1
may 25
4127
1
abr 25
1870
3
sept 24
15149
2
feb 24
2920