john_helt
john_helt4mo ago

Strange behavior when using allow_self_loops=True on states

I have a state that I use to redraw some UI component, using a dropdown selector that sets the state on it on_change handler. But for some reason, marimo throws an error. The error code is not very useful as it seems to be all marimo internals.
No description
2 Replies
john_helt
john_heltOP4mo ago
FYI: the update works, but the strange error message is a bit of an eyesore
Myles Scolnick
Myles Scolnick4mo ago
maybe our UI elements can have a clearer error when the value is not one of the options