Description of problem: When a search expression is entered in searchbar which has a space in value (Ex: type="Apache HTTP Server") and user places cursor in searchbar after the text type="Apache and before the text HTTP Server", it displays suggestions like type="Apache HTTP Server" and type="Apache Virtual Host". when user selects a suggestion type="Apache Virtual Host", it is not properly replaced. The searchbar displays expression as : type="Apache Virtual Host" HTTP Server". Please refer the attached screenshot. Version-Release number of selected component (if applicable): jon-server-2.4.0.Beta1 How reproducible: always Steps to Reproduce: 1. Login to jon. 2. Navigate to 'Resources->All Resources'. 3. Enter in searchbar: type="Apache HTTP Server" and press enter. 4. Place the cursor after the text 'Apache' and before 'http' in search expression. 5. Select the suggestion: type="Apache Virtual Host". Actual results: Searchbar shows the expression: type="Apache Virtual Host" HTTP Server". Expected results: Searchbar should replace the token and should display: type="Apache Virtual Host". Additional info:
Created attachment 422159 [details] Screenshot
search bar has had many fixes