mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
add placeholders for path values
review changes elastic/kibana/pull/97623#discussion_r620617999
This commit is contained in:
parent
b2cf2236b9
commit
6f2d0d7810
1 changed files with 11 additions and 0 deletions
|
@ -191,6 +191,17 @@ export const ConditionEntryInput = memo<ConditionEntryInputProps>(
|
|||
<EuiFieldText
|
||||
name="value"
|
||||
value={entry.value}
|
||||
placeholder={
|
||||
entry.field === ConditionEntryField.PATH
|
||||
? entry.type === 'wildcard'
|
||||
? os === OperatingSystem.WINDOWS
|
||||
? `C:\\sample\\**\\*`
|
||||
: `/opt/**/*`
|
||||
: os === OperatingSystem.WINDOWS
|
||||
? `C:\\sample\\path.exe`
|
||||
: `/opt/bin/`
|
||||
: undefined
|
||||
}
|
||||
fullWidth
|
||||
required
|
||||
onChange={handleValueUpdate}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue