Hacktoberfest 2026:維護者為十月標記出來的 issue,仍然開放、適合新手。 瀏覽 Hacktoberfest issue

docs-bug(chips): the "form example" is not fully related to forms

未關閉
#32,537 2 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視

維護者通常 1 天內回覆

@hemantmeena2005 已經在處理了。

開始於 2026年1月8日。

評估

難度
3/5
預估耗時
1-2 天
新手友好度
42/100
Issue 類型
文件
描述清晰度
基本清楚
活躍度
停滯
技術堆疊
angular, typescript

研究方向

從 issue 中引用的 chips-form-control-example 和 chips-reactive-form-example 元件開始,並檢查 chips 文件頁面上顯示的範例。比較它們的類別和範本;完成的標準是透過 formControl 而不是 keywords signal 示範 chips 清單,並移除或合併重複的範例。

由索引模型根據 Issue 內容生成。

描述

area: material/chips docs P4
Documentation Feedback

We have chips-form-control-example, chips-reactive-form-example components that intend to illustrate how chips interact with the form control.
I see 2 problems here.

  1. The interaction with mat-chip-grid is happening not fully through the formControl. For now the source of chips's list is keywords signal, not the formControl: @for (keyword of keywords(); track keyword) {
    It seems we should take the formControl as the source of chips's list (not the signal): @for (keyword of formControl.value || []; track keyword) {
    Moreover we could get rid of the signal, because the goal of the example is to show the interaction between the formControl and the chips in the template.

  2. These two examples of chips-form-control-example and chips-reactive-form-example components duplicate each other. They have the same logic inside of components classes. So it seems we could leave only one of these two examples.

Affected documentation page

https://material.angular.dev/components/chips/examples

主要語言
TypeScript
星號
25k
分支
6.8k
平均合併
1 天 7 小時
30 天內合併 PR
69

環境準備

  • 沒有 Dockerfile 或 Docker Compose 檔案
  • 沒有 Pull Request 範本
  • 閱讀貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

angular/components 的其他 Issue

查看 angular/components 的全部 Issue

相似的 Issue

更多 TypeScript Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。