تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
18644 أدوات العرض

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"

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
نوفمبر 16
5937
4
نوفمبر 24
13821
1
أبريل 24
4347
1
أغسطس 20
5413
2
سبتمبر 19
18769