Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
18503 Lượt xem

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. 

Ảnh đại diện
Huỷ bỏ

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 11 16
5753
4
thg 11 24
13289
1
thg 4 24
4198
1
thg 8 20
5274
2
thg 9 19
18616