fix dropdown remaining open after selection; closes #257

This commit is contained in:
thatmattlove 2024-06-01 14:49:05 -04:00
parent 0c643c6abd
commit b796149a26

View file

@ -170,7 +170,7 @@ export const QueryLocation = (props: QueryLocationProps): JSX.Element => {
options={options} options={options}
aria-label={label} aria-label={label}
name="queryLocation" name="queryLocation"
closeMenuOnSelect={false} closeMenuOnSelect={true}
onChange={handleSelectChange} onChange={handleSelectChange}
value={selections.queryLocation} value={selections.queryLocation}
isError={typeof errors.queryLocation !== 'undefined'} isError={typeof errors.queryLocation !== 'undefined'}