Skip to content

Commit 91a16c8

Browse files
Merge pull request #3440 from specify/issue-3401
Display tooltip on top of combo boxes
2 parents b8bf3f1 + d696b04 commit 91a16c8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

specifyweb/frontend/js_src/lib/components/FormFields/QueryComboBox.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ import { userInformation } from '../InitialContext/userInformation';
3939
import type { AutoCompleteItem } from '../Molecules/AutoComplete';
4040
import { AutoComplete } from '../Molecules/AutoComplete';
4141
import { Dialog } from '../Molecules/Dialog';
42+
import { titlePosition } from '../Molecules/Tooltips';
4243
import { hasTablePermission } from '../Permissions/helpers';
4344
import {
4445
getQueryComboBoxConditions,
@@ -370,6 +371,7 @@ export function QueryComboBox({
370371
title: typeof typeSearch === 'object' ? typeSearch.title : undefined,
371372
...getValidationAttributes(parser),
372373
type: 'text',
374+
[titlePosition]: 'top',
373375
}}
374376
pendingValueRef={pendingValueRef}
375377
source={fetchSource}

0 commit comments

Comments
 (0)