@bridgeline-digital/hawksearch-handlebars-ui 5.2.1 → 5.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/changelog.md
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
# 5.2.2
|
|
2
|
+
|
|
3
|
+
## New Features
|
|
4
|
+
|
|
5
|
+
1. Added `HawkSearch.config.components.['search-field'].disableAutofill` property with a default value of `false` to Specify whether the input element should be pre-populared if "query" parameter exists on the URL.
|
|
6
|
+
|
|
1
7
|
# 5.2.1
|
|
2
8
|
|
|
3
9
|
## Bug Fixes
|
|
@@ -30,6 +30,7 @@ export declare class SearchFieldComponent extends BaseComponent<SearchFieldCompo
|
|
|
30
30
|
private previousValue;
|
|
31
31
|
private get autocompleteMinCharacterCount();
|
|
32
32
|
private get recommendationsEnabled();
|
|
33
|
+
private get disableAutofill();
|
|
33
34
|
connectedCallback(): void;
|
|
34
35
|
disconnectedCallback(): void;
|
|
35
36
|
protected getContentModel(): SearchFieldComponentModel;
|
|
@@ -159,6 +159,13 @@ export interface SearchFieldComponentConfig extends BaseComponentConfig {
|
|
|
159
159
|
strings?: {
|
|
160
160
|
placeholder?: string;
|
|
161
161
|
};
|
|
162
|
+
/**
|
|
163
|
+
* Specifies whether the input element should be pre-populared if "query" parameter exists on the URL.
|
|
164
|
+
*
|
|
165
|
+
* #### Default Value
|
|
166
|
+
* `false`
|
|
167
|
+
*/
|
|
168
|
+
disableAutofill?: boolean;
|
|
162
169
|
}
|
|
163
170
|
export interface SearchResultsComponentConfig extends BaseComponentConfig {
|
|
164
171
|
}
|