Fix reverse-tab auto-select behavior in tag input
This commit is contained in:
parent
46f561d41f
commit
e330330147
@ -218,6 +218,7 @@ export default function TagInput({
|
|||||||
autoComplete="off"
|
autoComplete="off"
|
||||||
autoCapitalize="off"
|
autoCapitalize="off"
|
||||||
readOnly={readOnly}
|
readOnly={readOnly}
|
||||||
|
onFocus={() => setSelectedOptionIndex(undefined)}
|
||||||
/>
|
/>
|
||||||
<input type="hidden" name={name} value={value} />
|
<input type="hidden" name={name} value={value} />
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user