跳至内容
菜单
此问题已终结
1 回复
4587 查看

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

形象
丢弃
最佳答案

Hi,

you can use a fields.selection :

 'number': fields.selection([
                      ('1','1'),  
                      ('2','2'),     
                      ('3','3'),                     
                      ('4','5'), ], 'Number',)
形象
丢弃
相关帖文 回复 查看 活动
3
5月 25
761
1
5月 25
2902
1
4月 25
618
3
9月 24
12651
2
2月 24
1728