# 图标选择器搜索不支持大写字母

**URL:** <https://meta.discourse.org/t/icon-picker-search-doesnt-support-capital-letters/410385>\
**Category:** UX\
**Tags:** fixed\
**Created:** [2026年八月18日 22:03 UTC](https://meta.discourse.org/t/icon-picker-search-doesnt-support-capital-letters/410385 "2026-08-18T22:03:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Moin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moin/32/554653_2.png) [@Moin](https://meta.discourse.org/u/Moin)\
**Post date:** [2026年八月18日 22:03 UTC](https://meta.discourse.org/t/icon-picker-search-doesnt-support-capital-letters/410385/1 "2026-08-18T22:03:13Z")

</div>

图标选择器会导致我在使用 Chrome 时，平板的键盘以大写字母开头。

 ![Screenshot_20260818_234559_Chrome](https://global.discourse-cdn.com/meta/original/4X/f/2/7/f27f908a57464434bc5e928e7d4061063c1abbfa.jpeg)

这使得查找图标变得稍微困难一些，因为使用大写字母无法搜索到图标。

 ![Screenshot_20260818_235402_Chrome](https://global.discourse-cdn.com/meta/original/4X/9/4/c/94cee6763fffbb6dfafff11ea99d47944b667342.jpeg)

是否可以让搜索功能不区分大小写，或者阻止键盘以大写字母开头？

---

<div class="post-metadata">

**Author:** ![chapoi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chapoi/32/537252_2.png) [@chapoi](https://meta.discourse.org/u/chapoi)\
**Post date:** [2026年八月19日 07:46 UTC](https://meta.discourse.org/t/icon-picker-search-doesnt-support-capital-letters/410385/2 "2026-08-19T07:46:09Z")

</div>

为了保险起见，我同时实现了这两条建议：现在它既能兼容大写字母，又能同时禁用自动大写。

> <https://github.com/discourse/discourse/pull/42714>
>
> This fixes https://meta.discourse.org/t/icon-picker-search-doesnt-support-capita…l-letters/410385
> 
> \* The icon names are now matched case-insensitive
> \* The \`DFilterInput\`, which only has ~30 consumers that are list filters, not content-entry fields, benefits from turning these off generally:
> \* \`autocapitalize="none"\`: mobile keyboards capitalizing the first letter is actively harmful here (see report)
> \* \`autocorrect="off"\`: OS autocorrecting a partial token ("cate" → "Kate") as you type
> \* \`autocomplete="off"\`: the browser dropdown physically covers the results list you're filtering.
> 
> | BC | AC |
> |--------|--------|
> | \<img width="1179" height="2556" alt="image" src="https://github.com/user-attachments/assets/ed61b463-64c0-4ef3-8cc6-ac339986c316" /\> | \<img width="1179" height="2556" alt="image" src="https://github.com/user-attachments/assets/0152f9df-586f-4d08-abad-32233d85be19" /\> |

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)\
**Post date:** [2026年八月21日 08:11 UTC](https://meta.discourse.org/t/icon-picker-search-doesnt-support-capital-letters/410385/3 "2026-08-21T08:11:24Z")

</div>


