chrv-components 1.12.241 → 1.12.242
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.
|
Binary file
|
|
@@ -1695,7 +1695,9 @@ class DataListComponent {
|
|
|
1695
1695
|
}
|
|
1696
1696
|
else {
|
|
1697
1697
|
return (item) => {
|
|
1698
|
-
if (
|
|
1698
|
+
if (typeof item == 'object' &&
|
|
1699
|
+
'toString' in item &&
|
|
1700
|
+
typeof item['toString'] == 'function')
|
|
1699
1701
|
return item.toString();
|
|
1700
1702
|
else
|
|
1701
1703
|
String(item);
|
|
@@ -5050,7 +5052,9 @@ class ChrSearchSelectInputComponent extends ChrInputComponent {
|
|
|
5050
5052
|
super();
|
|
5051
5053
|
this.data = input([], /* @ts-ignore */
|
|
5052
5054
|
...(ngDevMode ? [{ debugName: "data" }] : /* istanbul ignore next */ []));
|
|
5053
|
-
this.display = input((v) =>
|
|
5055
|
+
this.display = input((v) => typeof v == 'object' &&
|
|
5056
|
+
'toString' in v &&
|
|
5057
|
+
typeof v['toString'] == 'function'
|
|
5054
5058
|
? v.toString()
|
|
5055
5059
|
: String(v), /* @ts-ignore */
|
|
5056
5060
|
...(ngDevMode ? [{ debugName: "display" }] : /* istanbul ignore next */ []));
|
|
@@ -5102,7 +5106,9 @@ class ChrTagSelectInputComponent extends ChrInputComponent {
|
|
|
5102
5106
|
super();
|
|
5103
5107
|
this.data = input([], /* @ts-ignore */
|
|
5104
5108
|
...(ngDevMode ? [{ debugName: "data" }] : /* istanbul ignore next */ []));
|
|
5105
|
-
this.display = input((v) =>
|
|
5109
|
+
this.display = input((v) => typeof v == 'object' &&
|
|
5110
|
+
'toString' in v &&
|
|
5111
|
+
typeof v['toString'] == 'function'
|
|
5106
5112
|
? v.toString()
|
|
5107
5113
|
: String(v), /* @ts-ignore */
|
|
5108
5114
|
...(ngDevMode ? [{ debugName: "display" }] : /* istanbul ignore next */ []));
|