From 51b5b78084df2f83de53d9788c2dccdcbc2b205a Mon Sep 17 00:00:00 2001 From: Marliana Lara Date: Tue, 5 Apr 2022 12:56:40 -0400 Subject: [PATCH] Add placeholder text when user selects a fuzzy search on labels --- awx/ui/src/components/Search/AdvancedSearch.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/awx/ui/src/components/Search/AdvancedSearch.js b/awx/ui/src/components/Search/AdvancedSearch.js index 154da44d15..80071d9c7c 100644 --- a/awx/ui/src/components/Search/AdvancedSearch.js +++ b/awx/ui/src/components/Search/AdvancedSearch.js @@ -195,6 +195,11 @@ function AdvancedSearch({ }; const renderTextInput = () => { + let placeholderText; + if (keySelection === 'labels' && lookupSelection === 'search') { + placeholderText = 'e.g. label_1,label_2'; + } + if (isTextInputDisabled) { return ( ); };