chrv-components 1.12.84 → 1.12.85
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
|
|
@@ -1522,7 +1522,9 @@ class DataListComponent {
|
|
|
1522
1522
|
if (!this.for()) {
|
|
1523
1523
|
throw new Error('Either "targetElement" or "for" must be provided to DataListComponent.');
|
|
1524
1524
|
}
|
|
1525
|
-
|
|
1525
|
+
var byName = document.querySelector(`input[name="${this.for()}"`);
|
|
1526
|
+
return (byName ??
|
|
1527
|
+
document.querySelector(`input[id="${this.for()}"]`));
|
|
1526
1528
|
}
|
|
1527
1529
|
}, ...(ngDevMode ? [{ debugName: "targetInput" }] : []));
|
|
1528
1530
|
this.displayFn = computed(() => {
|