Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
5107 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
2486
1
mai. 25
4146
1
abr. 25
1884
3
set. 24
15164
2
fev. 24
2935