# 当达到最大输入时，主题对象设置中的下拉菜单设置出现 SVG 图标丢失错误

**URL:** https://meta.discourse.org/t/svg-icon-missing-error-with-dropdown-settings-in-theme-object-settings-when-max-input-is-reached/391708
**Category:** UX
**Tags:** completed
**Created:** [2025年十二月18日 22:03 UTC](https://meta.discourse.org/t/svg-icon-missing-error-with-dropdown-settings-in-theme-object-settings-when-max-input-is-reached/391708 "2025-12-18T22:03:18Z")
**Posts on this page:** 1
**Showing post:** 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: [2025年十二月18日 22:03 UTC](https://meta.discourse.org/t/svg-icon-missing-error-with-dropdown-settings-in-theme-object-settings-when-max-input-is-reached/391708/1 "2025-12-18T22:03:18Z")

</div>

我在浏览器控制台中注意到几个关于缺少空图标的警告。

> 缺少 SVG 子集中的图标 “”

这些警告是在我的主题对象设置中，当达到最大输入值导致 图标在下拉菜单中被隐藏时触发的。

用于重现问题的 `setting.yml` 示例：

```yaml
dropdown_settings:
  type: objects
  default: []
  schema:
    name: test
    properties:
      max_2:
        type: categories
        validations:
          max: 2
      max_1:
        type: groups
        validations:
          max: 1
      max_3:
        type: tags
        validations:
          max: 3

```

---

_[View the full topic](https://meta.discourse.org/t/svg-icon-missing-error-with-dropdown-settings-in-theme-object-settings-when-max-input-is-reached/391708)._
