VeryGoodOpenSource / VeryGoodOpenSource/formz
Clear a TextField without a TextEditingController.
Nobody has claimed this yet.
- Dominant language
- Dart
- Stars
- 487
- Forks
- 42
- Avg merge
- 4d 9h
- Merged PRs (30d)
- 2
Description
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 :)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked flutter_form_validation example and inspect how its TextField values are wired to the Bloc. Define the desired controller-free clearing behavior and verify it against a representative form flow; the issue provides no repository file or test target.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- mobile-dev
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100