You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Calling Response::changed() on a Ui::toggle_value(...) always returns false regardless of whether or not the value has been changed.
To Reproduce
if ui.checkbox(&mutself.a,"Checkbox").changed(){println!("Checkbox changed!");// Works as expected}if ui.toggle_value(&mutself.b,"Toggle value").changed(){println!("Toggle value changed!");// Never executed}
Expected behavior ui.toggle_value(...).changed() should have the same behavior as ui.checkbox(...).changed().
The text was updated successfully, but these errors were encountered:
Describe the bug
Calling
Response::changed()
on aUi::toggle_value(...)
always returns false regardless of whether or not the value has been changed.To Reproduce
Expected behavior
ui.toggle_value(...).changed()
should have the same behavior asui.checkbox(...).changed()
.The text was updated successfully, but these errors were encountered: