angular / angular/components

[Mat-Form-Field] label/placeholder shake animation on input error

オープン
#16,634 コメント 4 件 リアクション 3 件 担当者 0 名 GitHub で見る
area: material/form-field feature P4
主要言語
TypeScript
スター
25k
フォーク
6.8k
平均マージ
1日 8時間
マージ済み PR(30日)
91

説明

#### Feature Description

See the example in the official docs:
- [Material Design - Text Fields - Anatomy](https://material.io/design/components/text-fields.html#anatomy) > Assistive Elements > Error Text
- [Direct link to video example](https://storage.googleapis.com/spec-host/mio-staging%2Fmio-design%2F1563837804615%2Fassets%2F1-aJCEgnpvxTuvtYshKU7BuVV4EdPatjE%2Ftextfields-anatomy-error.mp4)

In a form field, on error, the label/placeholder lightly shakes (left and right) as it turns red.

#### Use Case

This will enhance form field UX by subtly grabbing user attention for errors during form field entry

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

実装ファイルやテストは指定されていません。まず Angular Material form-field コンポーネントを見つけ、リンクされた Material Design の例と比較しながらそのエラー状態を再現してください。ラベルまたはプレースホルダーが赤く変わる際に左右に軽く振れるようになれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
angular, typescript
領域
design, frontend
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。