Skip to content

Clear a TextField without a TextEditingController. #111

Open
@altech7

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 :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Needs Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions