Skip to content

Clear a TextField without a TextEditingController. #111

Open

Description

@altech7

Describe the bug
Currently, I manage a form in the same way as: https://github.com/felangel/bloc/tree/master/examples/flutter_form_validation

I have a feature where I need to be able to clear the field, but I don't see how to do this without using a TextEditingController.

I would only like to manage the state of my form in one place (in my Bloc) and avoid using TextEditingController and with listeners.

Do you have any ideas?

Thanks :)

Activity

  1. eraps7 commented on Feb 26, 2024

    @eraps7

    Hi I am facing the same issue. Does any have any ideas for this issue? If time allows I would like to contribute to this project.

    Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions