Dashboard UI combo input should display the "Use <custom value>" option before matching options so that users can hit return to submit their custom value #1816

This commit is contained in:
Mike Burgess
2022-08-19 10:48:32 +01:00
parent 04df91bd78
commit dbec7bbbad

View File

@@ -235,6 +235,7 @@ const ComboInput = ({
// @ts-ignore
SingleValue: SingleValueWithTags,
}}
createOptionPosition="first"
formatCreateLabel={(inputValue) => `Use "${inputValue}"`}
menuPortalTarget={document.body}
inputId={`${name}.input`}