10000 TextField with maxLength needs multiple delete taps to delete text · Issue #67828 · flutter/flutter · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
TextField with maxLength needs multiple delete taps to delete text  #67828
Closed
@mehmetf

Description

@mehmetf

b/170458334

This can be repro'ed using the sample at: https://flutter.dev/docs/cookbook/forms/retrieve-input

Add maxLength: 5 to the TextField widget and try entering: "123456789" to the text field. You will need to press backspace 5 times to start deleting the text. My hunch is that we are not storing the inner "cursor position" correctly. The data seems to be correct (pressing the FAB always returns 12345).

I recall this used to work so marking as regression.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P0Critical issues such as a build break or regressiona: text inputEntering text in a text field or keyboard related problemsc: regressionIt was better in the past than it is nowcustomer: money (g3)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0