Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
4916 มุมมอง

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',)
อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
3
พ.ค. 25
1765
1
พ.ค. 25
3695
1
เม.ย. 25
1302
one2one relational field แก้ไขแล้ว
3
ก.ย. 24
14227
2
ก.พ. 24
2491