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

I want to implement a button for boolean field in wizard. My coding for same is

 <button class="btn-primary" name="select_all_record" type="object">
 <field name="use_active_domain" widget="boolean_button" options='{"terminology": { "string_true": "True", "hover_true": "check all", "string_false": "False", "hover_false": "Clear all" }}'/>
</button> 

still Button is not working properly and string is FALSE CLEARALL for all condition.

Thank you. 

อวตาร
ละทิ้ง

please test the string_true, string_false with any other name rather than "True" or "False" and replace the button name="toggle_active"

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
พ.ย. 16
5836
4
พ.ย. 24
13513
1
เม.ย. 24
4284
1
ส.ค. 20
5363
2
ก.ย. 19
18686