Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clear a TextField without a TextEditingController. #111

Open
altech7 opened this issue Oct 4, 2023 · 1 comment
Open

Clear a TextField without a TextEditingController. #111

altech7 opened this issue Oct 4, 2023 · 1 comment

Comments

@altech7
Copy link

altech7 commented Oct 4, 2023

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

@eraps7
Copy link

eraps7 commented Feb 26, 2024

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
Labels
None yet
Projects
Status: Needs Triage
Development

No branches or pull requests

2 participants