FilesystemBrowserTextbox, TagSelect: disallow text suggestion while open

This commit is contained in:
Jesse Chan
2020-11-16 23:36:33 +08:00
parent 3934e30d4f
commit 5f86736273
2 changed files with 2 additions and 0 deletions
@@ -76,6 +76,7 @@ const FilesystemBrowserTextbox: FC<FilesystemBrowserTextboxProps> = ({
<FormRowGroup ref={formRowRef}>
<FormRow>
<Textbox
autoComplete={isDirectoryListOpen ? 'off' : undefined}
addonPlacement="after"
defaultValue={destination}
id={id}
@@ -58,6 +58,7 @@ const TagSelect: FC<TagSelectProps> = ({defaultValue, placeholder, id, label}: T
<label className="form__element__label">{label}</label>
<div className={classes}>
<Textbox
autoComplete={isOpen ? 'off' : undefined}
id={id || 'tags'}
addonPlacement="after"
defaultValue={defaultValue}