Strange behavior when using allow_self_loops=True on states
At a glance
A community member is using a state to redraw a UI component, and a dropdown selector is used to set the state. However, the community member is encountering an error from the "marimo" library, and the error code is not very useful as it seems to be all internal to the library. The comments indicate that the update works, but the strange error message is a bit of an eyesore, and the community members suggest that the UI elements could have a clearer error when the value is not one of the options.
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.