Open on focus and select first match
[MAILPOET-4587]
This commit is contained in:
@@ -39,6 +39,8 @@ export function FormTokenField({
|
||||
label={label}
|
||||
value={selected.map((item) => item.name)}
|
||||
suggestions={uniqueSuggestions.map((item) => item.name)}
|
||||
__experimentalExpandOnFocus
|
||||
__experimentalAutoSelectFirstMatch
|
||||
onChange={(raw: string[]) => {
|
||||
const allSelected: FormTokenItem[] = raw.map((item) => {
|
||||
const match = uniqueSuggestions.find(
|
||||
|
Reference in New Issue
Block a user