Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
18901 Visualizzazioni

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
Abbandona

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

Post correlati Risposte Visualizzazioni Attività
1
nov 16
6125
5
set 25
14549
1
apr 24
4554
1
ago 20
5572
2
set 19
18978