diff --git a/public/app/features/variables/adhoc/picker/AdHocFilterKey.tsx b/public/app/features/variables/adhoc/picker/AdHocFilterKey.tsx index df82e824801..6259dc42473 100644 --- a/public/app/features/variables/adhoc/picker/AdHocFilterKey.tsx +++ b/public/app/features/variables/adhoc/picker/AdHocFilterKey.tsx @@ -9,6 +9,7 @@ interface Props { onChange: (item: SelectableValue) => void; } +const MIN_WIDTH = 90; export const AdHocFilterKey: FC = ({ datasource, onChange, filterKey }) => { const loadKeys = () => fetchFilterKeys(datasource); const loadKeysWithRemove = () => fetchFilterKeysWithRemove(datasource); @@ -22,6 +23,7 @@ export const AdHocFilterKey: FC = ({ datasource, onChange, filterKey }) = value={filterKey} onChange={onChange} loadOptions={loadKeys} + inputMinWidth={MIN_WIDTH} /> ); @@ -34,6 +36,7 @@ export const AdHocFilterKey: FC = ({ datasource, onChange, filterKey }) = value={filterKey} onChange={onChange} loadOptions={loadKeysWithRemove} + inputMinWidth={MIN_WIDTH} /> );