Commit a8f851c5 authored by Lauri Himanen's avatar Lauri Himanen
Browse files

Fixed issue with incorrect display type used on AutocompleteTextField, added...

Fixed issue with incorrect display type used on AutocompleteTextField, added support for boolean operations on material names, improved the logic for showing invalid query types.
parent d276bf63
...@@ -64,6 +64,7 @@ class SearchBox{ ...@@ -64,6 +64,7 @@ class SearchBox{
this.element.className = 'search-box'; this.element.className = 'search-box';
this.element.innerHTML = ` this.element.innerHTML = `
<button class="search-btn">Composition</button>
<div class="search-query-wrapper" > <div class="search-query-wrapper" >
<div id="syntax-error"> <div id="syntax-error">
<div>Invalid query syntax</div> <div>Invalid query syntax</div>
...@@ -71,7 +72,6 @@ class SearchBox{ ...@@ -71,7 +72,6 @@ class SearchBox{
<div class="search-query-box" style="float: left;"></div> <div class="search-query-box" style="float: left;"></div>
<button class="clean-btn" style="float: right;">Clear all</button> <button class="clean-btn" style="float: right;">Clear all</button>
</div> </div>
<!-- this button should be out of the search box because its functionality <!-- this button should be out of the search box because its functionality
is not part of the search box, it's general for the search module is not part of the search box, it's general for the search module
and it's probably being removed eventually --> and it's probably being removed eventually -->
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment