• Greg Spencer's avatar
    Disallow copy and cut when `obscureText` is set on `TextField` (#96233) · c5f108f0
    Greg Spencer authored
    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).
    c5f108f0
Name
Last commit
Last update
..
src Loading commit data...
analysis_options.yaml Loading commit data...
analysis_options_user.yaml Loading commit data...
animation.dart Loading commit data...
cupertino.dart Loading commit data...
fix_data.yaml Loading commit data...
foundation.dart Loading commit data...
gestures.dart Loading commit data...
material.dart Loading commit data...
painting.dart Loading commit data...
physics.dart Loading commit data...
rendering.dart Loading commit data...
scheduler.dart Loading commit data...
semantics.dart Loading commit data...
services.dart Loading commit data...
widgets.dart Loading commit data...