angular / angular/components

feat(FormField): Support error icons

未关闭
#33,577 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area: material/form-field feature gemini-triaged P3
主要语言
TypeScript
星标
25k
派生
6.8k
平均合并
1 天 8 小时
30 天内合并 PR
91

描述

### Feature Description

Material Design 3 guidelines [recommend showing an error icon when a text field is in an error state](https://m3.material.io/components/text-fields/guidelines#:~:text=It%E2%80%99s%20strongly%20recommended,additional%20sensory%20indicator.). However, there is no [such example in the Form Field documentation](https://material.angular.dev/components/form-field/examples) and no references to this in the overview section of the documentation.

If this is supported, it should be a added to the documentation. If not, support should be added.

### Use Case

_No response_

贡献指南

打开贡献指南

调研方向

先查看 issue 中引用的 Form Field 文档示例和概览,然后检查现有的错误状态行为,以确定是否已经支持错误图标。如果当前组件无法提供错误图标,则应先添加支持再记录;完成的标准是记录一个可正常工作的错误图标示例和概览引用。

由索引模型根据 Issue 内容生成。

评估

技术栈
angular, typescript
领域
documentation, frontend
Issue 类型
功能
难度
3/5
预计耗时
1-2 天
活跃度
活跃
描述清晰度
基本清楚
新手友好度
55/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。