chrv-components 1.12.219 → 1.12.220

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
@@ -1887,9 +1887,9 @@ class DataListComponent {
1887
1887
  ngAfterViewInit() {
1888
1888
  let target = this.target();
1889
1889
  if (!target)
1890
- target = document.querySelector(`name="${this.for()}"`);
1890
+ target = document.querySelector(`[name="${this.for()}"]`);
1891
1891
  if (!target)
1892
- target = document.querySelector(`id="${this.for()}"`);
1892
+ target = document.querySelector(`[id="${this.for()}"]`);
1893
1893
  if (target == null || target == undefined)
1894
1894
  throw new Error(`Could not find target with name ${this.for()}`);
1895
1895
  this.targetElement.set(target);