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
Clearing an experiment restores an input element's default
The maintainer's ruling on the ambiguity the Android session surfaced:
after a clear the buffer gets the DEFAULT, not the position the control
was left in. Clearing is how a user deliberately returns an experiment to
its starting state, and it is what makes clearGroup coherent - a setting
that should survive the trash is exactly what that attribute exists for,
so without this ruling it would be answering a question clearing did not
ask.
Recorded on the default attribute of edit, toggle and dropdown: a value
the user has set is not overwritten while it is in the buffer, and
clearing it restores the default.
Android's toggle keeps the widget position and is the thing to change;
its edit already does the right thing and is the shape to copy, and the
dropdown has not been established either way. iOS already complies -
seedInputDefaults fills the emptied buffer and the switch view reads it
without writing back - so its item is a test to pin it, since it holds by
construction rather than by intent.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
0 commit comments