[8.6] Fix placeholder for search bar (#146110) (#146147)

# Backport

This will backport the following commits from `main` to `8.6`:
- [Fix placeholder for search bar
(#146110)](https://github.com/elastic/kibana/pull/146110)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Khristinin
Nikita","email":"nikita.khristinin@elastic.co"},"sourceCommit":{"committedDate":"2022-11-23T13:28:24Z","message":"Fix
placeholder for search bar (#146110)\n\n## Fix placeholder for search
bar, which shows how to search for list_id\r\n\r\nFIX:
https://github.com/elastic/kibana/issues/145674","sha":"a7df8d10334fdb1523ed2530fe8f34095fda5c58","branchLabelMapping":{"^v8.7.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:Security
Solution
Platform","backport:prev-minor","v8.7.0"],"number":146110,"url":"https://github.com/elastic/kibana/pull/146110","mergeCommit":{"message":"Fix
placeholder for search bar (#146110)\n\n## Fix placeholder for search
bar, which shows how to search for list_id\r\n\r\nFIX:
https://github.com/elastic/kibana/issues/145674","sha":"a7df8d10334fdb1523ed2530fe8f34095fda5c58"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v8.7.0","labelRegex":"^v8.7.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/146110","number":146110,"mergeCommit":{"message":"Fix
placeholder for search bar (#146110)\n\n## Fix placeholder for search
bar, which shows how to search for list_id\r\n\r\nFIX:
https://github.com/elastic/kibana/issues/145674","sha":"a7df8d10334fdb1523ed2530fe8f34095fda5c58"}}]}]
BACKPORT-->

Co-authored-by: Khristinin Nikita <nikita.khristinin@elastic.co>
This commit is contained in:
Kibana Machine 2022-11-23 09:56:11 -05:00 committed by GitHub
parent c99712f98c
commit e0f1586207
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -163,7 +163,7 @@ export const referenceErrorMessage = (referenceCount: number) =>
export const EXCEPTION_LIST_SEARCH_PLACEHOLDER = i18n.translate(
'xpack.securitySolution.detectionEngine.rules.all.exceptions.searchPlaceholder',
{
defaultMessage: 'Search by name or list id',
defaultMessage: 'Search by name or list_id:id',
}
);