@porscheinformatik/clr-addons 19.12.3 → 19.12.4

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.
@@ -1720,7 +1720,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.16", ngImpo
1720
1720
  }] } });
1721
1721
 
1722
1722
  /*
1723
- * Copyright (c) 2018-2023 Porsche Informatik. All Rights Reserved.
1723
+ * Copyright (c) 2018-2026 Porsche Informatik. All Rights Reserved.
1724
1724
  * This software is released under MIT license.
1725
1725
  * The full license information can be found in LICENSE in the root directory of this project.
1726
1726
  */
@@ -1811,7 +1811,9 @@ class ClrMultilingualAbstract extends ClrAbstractFormComponent {
1811
1811
  // if the language change destroys it immediately, the click won't get fired
1812
1812
  setTimeout(() => {
1813
1813
  this.selectedLang = lang;
1814
- this.inputElement.nativeElement.focus();
1814
+ if (!(this.readonly || this.readonly === '')) {
1815
+ this.inputElement.nativeElement.focus();
1816
+ }
1815
1817
  });
1816
1818
  }
1817
1819
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.16", ngImport: i0, type: ClrMultilingualAbstract, deps: [{ token: i0.Injector }], target: i0.ɵɵFactoryTarget.Directive }); }