I've noticed that yo-yo fiddles with the selection state of my select elements when I change which option is selected by setting its selected property.
By debugging, I figured out that it's due to this code. Should it instead copy from t to f? I don't understand why the mutating element should get modified, it seems the opposite should happen.
I've noticed that yo-yo fiddles with the selection state of my
select
elements when I change whichoption
is selected by setting itsselected
property.By debugging, I figured out that it's due to this code. Should it instead copy from
t
tof
? I don't understand why the mutating element should get modified, it seems the opposite should happen.