Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
4928 Visualizações

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
Cancelar
Melhor resposta

Hi,

you can use a fields.selection :

 'number': fields.selection([
                      ('1','1'),  
                      ('2','2'),     
                      ('3','3'),                     
                      ('4','5'), ], 'Number',)
Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
3
mai. 25
1846
1
mai. 25
3731
1
abr. 25
1379
3
set. 24
14341
2
fev. 24
2565