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

how i can create a combo field ? thanks.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

I think you should use fields.selection

 'state': fields.selection([('done','Done'),('skipped','Skipped'),], 'State', size=24, help='The test will be completed only if the module is installed or if the test may be processed on uninstalled module.'),
อวตาร
ละทิ้ง