Skip to content

Commit 1af4e3e

Browse files
committed
feat: update placeholder
1 parent f20a63c commit 1af4e3e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

frontend/web/components/segments/Rule/components/RuleConditionValueInput.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import React, { useMemo } from 'react'
2+
import classNames from 'classnames'
23
import Input from 'components/base/forms/Input'
34
import Icon from 'components/Icon'
45
import Utils from 'common/utils/utils'
@@ -63,6 +64,7 @@ const RuleConditionValueInput: React.FC<RuleConditionValueInputProps> = ({
6364
onSelectionChange={(selectedValues: string[]) => {
6465
onChange?.(JSON.stringify(selectedValues))
6566
}}
67+
placeholder='Select environments...'
6668
options={environmentOptions}
6769
className='w-100'
6870
/>
@@ -101,7 +103,7 @@ const RuleConditionValueInput: React.FC<RuleConditionValueInputProps> = ({
101103
const isDarkMode = getDarkMode()
102104

103105
return (
104-
<div className={`relative ${className}`}>
106+
<div className={classNames('relative', className)}>
105107
<Input
106108
type='text'
107109
data-test={props['data-test']}

0 commit comments

Comments
 (0)