Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
18543 Tampilan

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. 

Avatar
Buang

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

Post Terkait Replies Tampilan Aktivitas
1
Nov 16
5814
4
Nov 24
13451
1
Apr 24
4263
1
Agu 20
5341
2
Sep 19
18668