跳至內容
選單
此問題已被標幟
1 回覆
4851 瀏覽次數

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
1462
1
5月 25
3478
1
4月 25
1122
3
9月 24
13904
2
2月 24
2303