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
When you have a state var variable foo, and another state var bar which has the string value foo, the value of bar might sometimes become the value of foo.
So if i now type password into my search bar, the contents of the search bar become the contents of the password variable. I don't know if I'm missing something super obvious here, but this seems a little suspicious to me. It's also not that I'm passing the contents of the variable into apply_search somewhere, when I log the input, it's always just the actual text that I write in.
Screen.Recording.2024-11-12.143353.mp4
The text was updated successfully, but these errors were encountered:
Because of some dodgy logic in Base.get_value and State.dict / State.get_delta
when the value of some state var X happened to be the name of another var in
the state Y, then the value for X would be returned as the value of Y.
wat.
Fixes#4369
When you have a state var variable
foo
, and another state varbar
which has the string value foo, the value of bar might sometimes become the value of foo.Example:
So if i now type
password
into my search bar, the contents of the search bar become the contents of the password variable. I don't know if I'm missing something super obvious here, but this seems a little suspicious to me. It's also not that I'm passing the contents of the variable intoapply_search
somewhere, when I log the input, it's always just the actual text that I write in.Screen.Recording.2024-11-12.143353.mp4
The text was updated successfully, but these errors were encountered: