• Greg Spencer's avatar
    Disallow copy and cut when text field is obscured. (#96309) · a9e0dd40
    Greg Spencer authored
    Before this change, it was possible to select and copy obscured text from a text field.
    
    This  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).
    a9e0dd40
text_form_field.dart 13.9 KB