Fix reverse-tab auto-select behavior in tag input

This commit is contained in:
Sam Becker 2024-02-05 12:51:53 -06:00
parent 46f561d41f
commit e330330147

View File

@ -218,6 +218,7 @@ export default function TagInput({
autoComplete="off"
autoCapitalize="off"
readOnly={readOnly}
onFocus={() => setSelectedOptionIndex(undefined)}
/>
<input type="hidden" name={name} value={value} />
</div>