Clear a TextField without a TextEditingController.
@eraps7 已经在做这个了。
开始于 2024年2月26日。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 功能
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
- 领域
- mobile-dev
调研方向
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.
由索引模型根据 Issue 内容生成。
描述
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 :)
- 主要语言
- Dart
- 星标
- 490
- 派生
- 43
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
VeryGoodOpenSource/formz 的其他 Issue
-
feature
难度 4/5 3-5 天 新手友好度 52/100
VeryGoodOpenSource/formz#166 ·
-
feature p3
难度 5/5 一周以上 新手友好度 25/100
VeryGoodOpenSource/formz#121 · 5 条评论 ·
-
documentation p3
难度 4/5 3-5 天 新手友好度 35/100
VeryGoodOpenSource/formz#110 · 1 条评论 · 8 个 reaction ·
-
documentation p3
难度 4/5 3-5 天 新手友好度 25/100
VeryGoodOpenSource/formz#101 · 2 个 reaction ·
-
难度 3/5 1-2 天 新手友好度 42/100
VeryGoodOpenSource/formz#86 · 2 条评论 ·
查看 VeryGoodOpenSource/formz 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 4 天内回复
-
难度 2/5 1-3 小时 新手友好度 79/100
维护者通常 1 天内回复
-
[Bug] 附近设备权限未申请未关闭bug
难度 2/5 1-3 小时 新手友好度 67/100
bggRGjQaUbCoE/PiliPlus#3369 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
-
P1
难度 2/5 1-3 小时 新手友好度 76/100
flutter/flutter-intellij#9177 ·
维护者通常 1 天内回复