@syncfusion/ej2-dropdowns 26.1.42 → 26.2.5
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/dist/ej2-dropdowns.min.js +2 -2
- package/dist/ej2-dropdowns.umd.min.js +2 -2
- package/dist/ej2-dropdowns.umd.min.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es2015.js +18 -4
- package/dist/es6/ej2-dropdowns.es2015.js.map +1 -1
- package/dist/es6/ej2-dropdowns.es5.js +18 -4
- package/dist/es6/ej2-dropdowns.es5.js.map +1 -1
- package/dist/global/ej2-dropdowns.min.js +2 -2
- package/dist/global/ej2-dropdowns.min.js.map +1 -1
- package/dist/global/index.d.ts +1 -1
- package/hotfix/26.1.35_Vol2.txt +1 -0
- package/package.json +12 -12
- package/src/drop-down-base/drop-down-base.js +11 -2
- package/src/drop-down-list/drop-down-list.js +1 -1
- package/src/drop-down-tree/drop-down-tree.js +6 -1
- package/styles/auto-complete/fluent2.css +10 -10
- package/styles/bootstrap-dark.css +15 -14
- package/styles/bootstrap.css +15 -14
- package/styles/bootstrap4.css +15 -14
- package/styles/bootstrap5-dark.css +15 -14
- package/styles/bootstrap5.css +15 -14
- package/styles/combo-box/fluent2.css +10 -10
- package/styles/drop-down-base/fluent2.css +10 -10
- package/styles/drop-down-list/fluent2.css +10 -10
- package/styles/drop-down-tree/fluent2.css +10 -10
- package/styles/fabric-dark.css +15 -14
- package/styles/fabric.css +15 -14
- package/styles/fluent-dark.css +15 -14
- package/styles/fluent.css +15 -14
- package/styles/fluent2.css +27 -26
- package/styles/highcontrast-light.css +15 -14
- package/styles/highcontrast.css +15 -14
- package/styles/list-box/_layout.scss +17 -13
- package/styles/list-box/bootstrap-dark.css +15 -14
- package/styles/list-box/bootstrap.css +15 -14
- package/styles/list-box/bootstrap4.css +15 -14
- package/styles/list-box/bootstrap5-dark.css +15 -14
- package/styles/list-box/bootstrap5.css +15 -14
- package/styles/list-box/fabric-dark.css +15 -14
- package/styles/list-box/fabric.css +15 -14
- package/styles/list-box/fluent-dark.css +15 -14
- package/styles/list-box/fluent.css +15 -14
- package/styles/list-box/fluent2.css +27 -26
- package/styles/list-box/highcontrast-light.css +15 -14
- package/styles/list-box/highcontrast.css +15 -14
- package/styles/list-box/material-dark.css +15 -14
- package/styles/list-box/material.css +15 -14
- package/styles/list-box/material3-dark.css +15 -14
- package/styles/list-box/material3.css +15 -14
- package/styles/list-box/tailwind-dark.css +15 -14
- package/styles/list-box/tailwind.css +15 -14
- package/styles/material-dark.css +15 -14
- package/styles/material.css +16 -15
- package/styles/material3-dark.css +15 -14
- package/styles/material3.css +15 -14
- package/styles/mention/fluent2.css +10 -10
- package/styles/multi-select/_material-definition.scss +1 -1
- package/styles/multi-select/fluent2.css +10 -10
- package/styles/multi-select/material.css +1 -1
- package/styles/tailwind-dark.css +15 -14
- package/styles/tailwind.css +15 -14
|
@@ -1977,12 +1977,21 @@ let DropDownBase = class DropDownBase extends Component {
|
|
|
1977
1977
|
option.templateID = this.itemTemplateId;
|
|
1978
1978
|
option.isStringTemplate = this.isStringTemplate;
|
|
1979
1979
|
const itemcheck = this.templateCompiler(this.itemTemplate);
|
|
1980
|
+
let ulElement;
|
|
1980
1981
|
if (typeof this.itemTemplate !== 'function' && itemcheck) {
|
|
1981
1982
|
const itemValue = select(this.itemTemplate, document).innerHTML.trim();
|
|
1982
|
-
|
|
1983
|
+
ulElement = ListBase.renderContentTemplate(this.createElement, itemValue, dataSource, fields.properties, option, this);
|
|
1984
|
+
if (this.isVirtualizationEnabled && this.isReact) {
|
|
1985
|
+
this.renderReactTemplates();
|
|
1986
|
+
}
|
|
1987
|
+
return ulElement;
|
|
1983
1988
|
}
|
|
1984
1989
|
else {
|
|
1985
|
-
|
|
1990
|
+
ulElement = ListBase.renderContentTemplate(this.createElement, this.itemTemplate, dataSource, fields.properties, option, this);
|
|
1991
|
+
if (this.isVirtualizationEnabled && this.isReact) {
|
|
1992
|
+
this.renderReactTemplates();
|
|
1993
|
+
}
|
|
1994
|
+
return ulElement;
|
|
1986
1995
|
}
|
|
1987
1996
|
}
|
|
1988
1997
|
typeOfData(items) {
|
|
@@ -4476,7 +4485,7 @@ let DropDownList = class DropDownList extends DropDownBase {
|
|
|
4476
4485
|
return;
|
|
4477
4486
|
}
|
|
4478
4487
|
this.isCustomFilter = true;
|
|
4479
|
-
this.customFilterQuery = query.clone();
|
|
4488
|
+
this.customFilterQuery = query ? query.clone() : query;
|
|
4480
4489
|
this.filteringAction(dataSource, query, fields);
|
|
4481
4490
|
},
|
|
4482
4491
|
baseEventArgs: e,
|
|
@@ -6905,7 +6914,12 @@ let DropDownTree = class DropDownTree extends Component {
|
|
|
6905
6914
|
}
|
|
6906
6915
|
}
|
|
6907
6916
|
else {
|
|
6908
|
-
|
|
6917
|
+
if (!isNullOrUndefined(this.element.id)) {
|
|
6918
|
+
this.inputEle = this.createElement('input', { attrs: { role: 'textbox', type: 'text', id: this.element.id } });
|
|
6919
|
+
}
|
|
6920
|
+
else {
|
|
6921
|
+
this.inputEle = this.createElement('input', { attrs: { role: 'textbox', type: 'text' } });
|
|
6922
|
+
}
|
|
6909
6923
|
this.element.parentElement.insertBefore(this.inputEle, this.element);
|
|
6910
6924
|
}
|
|
6911
6925
|
this.inputObj = Input.createInput({
|