Disallow copy and cut when `obscureText` is set on `TextField` (#96233)
Before this change, it was possible to select and copy obscured text from a text field. This PR changes things so that: - Obscured text fields don't allow copy or cut. - If a field is both obscured and read-only, then selection is disabled as well (if you can't modify it, and can't copy it, there's no point in selecting it).
G
Greg Spencer committed
c5f108f067c4f5a55f2feb02b96cda2af1d2c2f7
Parent: 3750bea
Committed by GitHub <noreply@github.com>
on 1/7/2022, 8:21:59 PM