Skip to content

SearchSelect: フォーカスアウト時にカスタム値がクリアされる #647

@reiroop

Description

@reiroop

Generated by Gemini 3 pro

handleClickOutside において、allowCustom が true でカスタム値が入力されている場合、props.options に見つからないため searchTerm.value'' にリセットされてしまいます。

修正案:
allowCustom が true の場合、カスタム値を保持するように handleClickOutside のフォールバックロジックを更新してください。

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions