# 注册后不允许编辑

**URL:** https://meta.discourse.org/t/not-respecting-editable-after-sign-up/361529
**Category:** Bug
**Tags:** user-custom-fields
**Created:** [2025年四月12日 08:52 UTC](https://meta.discourse.org/t/not-respecting-editable-after-sign-up/361529 "2025-04-12T08:52:38Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Heliosurge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heliosurge/32/571810_2.png) [@Heliosurge](https://meta.discourse.org/u/Heliosurge)
#### Post date: [2025年四月12日 08:52 UTC](https://meta.discourse.org/t/not-respecting-editable-after-sign-up/361529/1 "2025-04-12T08:52:38Z")

</div>

我为县创建了一个自定义用户字段  
目前下拉菜单中有 2 个可用选项。无法更改县选项。下拉菜单在偏好设置\配置文件中不起作用。

并且在使用 graceful 主题时，它会创建页面的滚动副本。运行默认主题时，按钮下拉菜单根本不起作用。

 ![图片显示了一个 Facebook 页面，其中包含 NSFirelub.ca 的横幅以及 CheifAdmin 发布的一篇帖子，提示用户启用实时通知警报以获得回复。（由 AI 题注）](https://global.discourse-cdn.com/meta/original/4X/1/8/1/18194ee2fbb6931b61be99a4c0802216fd173274.jpeg)

运行测试已通过，截至今天已完全更新。

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [2025年四月15日 13:41 UTC](https://meta.discourse.org/t/not-respecting-editable-after-sign-up/361529/2 "2025-04-15T13:41:49Z")

</div>

字段是如何配置的？我无法在默认主题或 Graceful 主题中使用此配置进行重现：

 ![图片显示了下拉菜单中“County”字段的表单配置，可以选择使其对新用户注册成为可选，并允许现有用户在注册后进行编辑。（由 AI 标注）](https://global.discourse-cdn.com/meta/original/4X/7/c/7/7c76c99067f334a69fb14ec17c05ece0eb698537.png)

您在控制台中看到任何错误吗？通常主题中此类内容的重复会出现一些 JavaScript 错误。

它在安全模式下工作吗？

---

<div class="post-metadata">

### Author: ![Heliosurge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heliosurge/32/571810_2.png) [@Heliosurge](https://meta.discourse.org/u/Heliosurge)
#### Post date: [2025年四月15日 18:03 UTC](https://meta.discourse.org/t/not-respecting-editable-after-sign-up/361529/3 "2025-04-15T18:03:58Z")

</div>

设置和你差不多。

 ![The image displays a section of a form with a dropdown menu named "Municipality of:" and two options, "Guysborough" and "St. Mary's," labeled as "Options" from which to choose. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/6/e/0/6e0c13e2d18e6e4f662f6fa923e5d5d799679ef5.png)

 ![This image shows a settings interface for a custom registration field on a website, detailing how the field is required for new users upon sign-up, options for its visibility on profiles and cards, and its searchability. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/7/6/d/76d67dd156aa451a5e00b71b67bb6985736b651b.png)

我没有尝试过安全模式或控制台。但确实尝试过加载默认主题，而且我认为它运行正常。

我会尝试在浏览器中加载它，看看控制台显示什么。

默认主题不会出现重复，但正如你在个人资料下拉菜单中看到的，没有选项可以切换县。

 ![A website configuration interface with dropdown options for location, web site, and municipality status, and fields for profile header and user card background upload. (Captioned by AI)](https://global.discourse-cdn.com/meta/original/4X/3/3/0/33031b328ce1cdd47213a8ab12ef06ea3bd13644.png)

---

<div class="post-metadata">

### Author: ![Heliosurge](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/heliosurge/32/571810_2.png) [@Heliosurge](https://meta.discourse.org/u/Heliosurge)
#### Post date: [2025年四月15日 18:31 UTC](https://meta.discourse.org/t/not-respecting-editable-after-sign-up/361529/4 "2025-04-15T18:31:03Z")

</div>

控制台日志

 ![图像显示了一个平台上的 Discourse 程序界面，其中有关于弃用和错误的警告。（由 AI 标注）](https://global.discourse-cdn.com/meta/original/4X/3/6/c/36c017d20bbddf545e66367e949f74a03d075234.png)

 ![图像显示了控制台中的多个错误消息，显示“未捕获的错误：VM BUG：在尝试跳转之前必须设置目标。”（由 AI 标注）](https://global.discourse-cdn.com/meta/original/4X/4/d/0/4d08ded97d83a6929d3c271f3f61b174776b21b6.png)

 ![图像显示了控制台输出中的多个红色错误消息，每条都声明“未捕获的错误：VM Bug：在尝试跳转之前必须设置目标”。（由 AI 标注）](https://global.discourse-cdn.com/meta/original/4X/b/b/b/bbb9c3663424e556904db6bdb443ca523c14831d.png)
