# 카테고리 설정의 사용자 지정 수신 이메일 주소 필드에 글자를 입력할 때마다 포커스가 사라집니다

**URL:** https://meta.discourse.org/t/custom-incoming-email-address-field-in-category-setting-loses-focus-after-every-character-you-enter/395609
**Category:** Bug
**Created:** [2월 9, 2026, 9:34오후 UTC](https://meta.discourse.org/t/custom-incoming-email-address-field-in-category-setting-loses-focus-after-every-character-you-enter/395609 "2026-02-09T21:34:59Z")
**Posts on this page:** 1
**Showing post:** 4

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [2월 10, 2026, 3:35오후 UTC](https://meta.discourse.org/t/custom-incoming-email-address-field-in-category-setting-loses-focus-after-every-character-you-enter/395609/4 "2026-02-10T15:35:08Z")

</div>

이렇게 하면 해결될 것입니다

> <https://github.com/discourse/discourse/pull/37669>
>
> When \`enable\_simplified\_category\_creation\` is disabled, the email fields in cate…gory settings lose focus after every keystroke, making it impossible to type an email address.
> 
> The legacy category editor wraps all tabs in a FormKit \`\<Form\>\` component. The Form wrapper uses \`{{#each (array @data)}}\` which destroys and recreates the entire component tree when \`@data\` changes identity. Since the controller's \`formData\` getter returns a new object (via \`getProperties\`) every time a model property changes, any two-way binding mutation — including every keystroke in a \`\<TextField\>\` — triggers a full teardown and rebuild of all form elements, destroying the focused input.
> 
> This commit converts the email section inputs (\`email\_in\`, \`email\_in\_allow\_strangers\`, \`mailinglist\_mirror\`) from two-way model bindings to use FormKit's data layer (\`form.set\` / \`transientData\`). Edits to these fields no longer mutate the model, so \`formData\` isn't invalidated and the form is not recreated.
> 
> This commit also passes \`form\` to the \`category-email-in\` and \`category-custom-settings\` plugin outlets on the legacy page, matching what the simplified page already does, so that plugins can adopt FormKit as well.
> 
> https://meta.discourse.org/t/395609

---

_[View the full topic](https://meta.discourse.org/t/custom-incoming-email-address-field-in-category-setting-loses-focus-after-every-character-you-enter/395609)._
