fix: clear button no longer gives error on open field
Browse files
app/mode_simple.py
CHANGED
|
@@ -377,7 +377,9 @@ with gr.Blocks(theme='shivi/calm_seafoam') as simple:
|
|
| 377 |
#dead reset
|
| 378 |
radio_circumstance_dead, radio_physical_dead,
|
| 379 |
button_collision_dead, button_deliberate_destruction_dead, button_indirect_destruction_dead, button_natural_cause_dead,
|
| 380 |
-
dropdown_dead, dropdown_level2_dead,
|
|
|
|
|
|
|
| 381 |
physical_boxes_dead,
|
| 382 |
checkbox_beak_dead, text_beak_dead, checkbox_body_dead, text_body_dead, checkbox_feathers_dead, text_feathers_dead, checkbox_head_dead, text_head_dead, checkbox_legs_dead, text_legs_dead,
|
| 383 |
fe_collection_dropdown_dead, fe_recepient_dropdown_dead, fe_radio_dropdown_dead, fe_answer_dropdown_dead,
|
|
@@ -385,7 +387,9 @@ with gr.Blocks(theme='shivi/calm_seafoam') as simple:
|
|
| 385 |
#wounded reset
|
| 386 |
radio_circumstance_wounded, radio_behavior_wounded, radio_physical_wounded,
|
| 387 |
button_collision_wounded, button_deliberate_destruction_wounded, button_indirect_destruction_wounded, button_natural_cause_wounded,
|
| 388 |
-
dropdown_wounded, dropdown_level2_wounded,
|
|
|
|
|
|
|
| 389 |
behavior_checkbox, behavior_text,
|
| 390 |
physical_boxes_wounded,
|
| 391 |
checkbox_beak_wounded, text_beak_wounded, checkbox_body_wounded, text_body_wounded, checkbox_feathers_wounded, text_feathers_wounded, checkbox_head_wounded, text_head_wounded, checkbox_legs_wounded, text_legs_wounded,
|
|
|
|
| 377 |
#dead reset
|
| 378 |
radio_circumstance_dead, radio_physical_dead,
|
| 379 |
button_collision_dead, button_deliberate_destruction_dead, button_indirect_destruction_dead, button_natural_cause_dead,
|
| 380 |
+
dropdown_dead, dropdown_level2_dead,
|
| 381 |
+
#openfield_level2_dead,
|
| 382 |
+
dropdown_extra_level2_dead,
|
| 383 |
physical_boxes_dead,
|
| 384 |
checkbox_beak_dead, text_beak_dead, checkbox_body_dead, text_body_dead, checkbox_feathers_dead, text_feathers_dead, checkbox_head_dead, text_head_dead, checkbox_legs_dead, text_legs_dead,
|
| 385 |
fe_collection_dropdown_dead, fe_recepient_dropdown_dead, fe_radio_dropdown_dead, fe_answer_dropdown_dead,
|
|
|
|
| 387 |
#wounded reset
|
| 388 |
radio_circumstance_wounded, radio_behavior_wounded, radio_physical_wounded,
|
| 389 |
button_collision_wounded, button_deliberate_destruction_wounded, button_indirect_destruction_wounded, button_natural_cause_wounded,
|
| 390 |
+
dropdown_wounded, dropdown_level2_wounded,
|
| 391 |
+
#openfield_level2_wounded,
|
| 392 |
+
dropdown_extra_level2_wounded,
|
| 393 |
behavior_checkbox, behavior_text,
|
| 394 |
physical_boxes_wounded,
|
| 395 |
checkbox_beak_wounded, text_beak_wounded, checkbox_body_wounded, text_body_wounded, checkbox_feathers_wounded, text_feathers_wounded, checkbox_head_wounded, text_head_wounded, checkbox_legs_wounded, text_legs_wounded,
|
app/validation_submission/resets.py
CHANGED
|
@@ -43,4 +43,4 @@ def hide_physical(mode):
|
|
| 43 |
text_head,
|
| 44 |
checkbox_legs,
|
| 45 |
text_legs,
|
| 46 |
-
)
|
|
|
|
| 43 |
text_head,
|
| 44 |
checkbox_legs,
|
| 45 |
text_legs,
|
| 46 |
+
)
|