Some fields do not require validation
还没有人认领这个 Issue。
评估
调研方向
Start by locating the FormzInput definition and the code that requires a validation error for each input. Review the existing form and input tests, then make it possible for an input to participate in change tracking without requiring validation; done when the StatusMemberInput example is supported and the relevant tests pass.
由索引模型根据 Issue 内容生成。
描述
Every time a FormZInput is defined we must add a validation error even if we never get to use it. Some fields do not require validation, but do require being inside the form to later verify if the field has changed its value.
Example:
// abstract class FormzInput<T, E>
enum StatusMemberInputError { none }
class StatusMemberInput extends FormzInput<bool, StatusMemberInputError> {
const StatusMemberInput.pure({bool value = false}) : super.pure(value);
const StatusMemberInput.dirty({bool value = false}) : super.dirty(value);
@override
StatusMemberInputError? validator(bool value) => null;
}
- 主要语言
- 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 条评论 ·
-
Clear a TextField without a TextEditingController.可能重新可做 @eraps7 于 967 天前认领,目前没有进行中的 PR。 未关闭
难度 5/5 一周以上 新手友好度 25/100
VeryGoodOpenSource/formz#111 · 1 条评论 · 1 个 reaction ·
-
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 ·
查看 VeryGoodOpenSource/formz 的全部 Issue
相似的 Issue
-
bug to check
难度 2/5 1-3 小时 新手友好度 66/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 75/100
fzyzcjy/flutter_rust_bridge#3495 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
Not all highlighting kinds have examples in DartColorsAndFontsPage可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭good-first-issue P3
难度 2/5 1-3 小时 新手友好度 88/100
flutter/dart-intellij-third-party#758 ·
维护者通常 1 天内回复