Skip to content

Commit

Permalink
fix: datalist description wording
Browse files Browse the repository at this point in the history
it should be described more concrete in the future
  • Loading branch information
nonumpa authored May 31, 2024
1 parent 8a81b76 commit b4bc36a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _components/datalist/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ maturity: "new"

- 可搜尋選項列表(Datalist)必須與 `<input>` 搭配在一起使用,在 `<input>` 中要設定 `list` 屬性並對應到 `<datalist>``id` 屬性。
- 提供可搜尋功能,讓使用者在選項很多的時候,可以快速找到目標選項,如:國家列表;對於開發者來說,不需要寫額外的 JavaScript 就能有可搜尋功能。
- 可搜尋選項列表(Datalist)在瀏覽列表項目(`<option>`)的使用者體驗在手機裝置上不是很好,可能較不適用在使用者沒有明確的目標選項(需要瀏覽一下選項才能選擇)的狀況,如:餐點列表。
- 可搜尋選項列表(Datalist)在瀏覽列表項目(`<option>`)的使用者體驗在手機裝置上,可能較不適用在使用者沒有明確的目標選項(需要瀏覽一下選項才能選擇)的狀況,如:餐點列表。

### 基本樣式

Expand Down

0 comments on commit b4bc36a

Please sign in to comment.