@progress/kendo-angular-inputs 17.0.1 → 17.0.2-develop.2

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.
@@ -153,7 +153,7 @@ export class FormFieldComponent {
153
153
  return control.valueAccessor instanceof RadioControlValueAccessor;
154
154
  }
155
155
  updateDescription() {
156
- const controls = this.findControlElements();
156
+ const controls = this.findControlElements().filter(c => !!c);
157
157
  if (!controls) {
158
158
  return;
159
159
  }
@@ -173,9 +173,11 @@ export class FormFieldComponent {
173
173
  if (!this.controlElementRefs) {
174
174
  return;
175
175
  }
176
- // if the control is KendoInput and has focusableId - dropdowns, dateinputs
176
+ // the control is KendoInput and has focusableId - dropdowns, dateinputs, editor
177
177
  if (this.kendoInput && this.kendoInput.focusableId && isDocumentAvailable()) {
178
- return [this.hostElement.nativeElement.querySelector(`#${this.kendoInput.focusableId}`)];
178
+ // Editor requires special treatment when in iframe mode
179
+ const isEditor = this.kendoInput.focusableId.startsWith('k-editor');
180
+ return isEditor ? [this.kendoInput.viewMountElement] : [this.hostElement.nativeElement.querySelector(`#${this.kendoInput.focusableId}`)];
179
181
  }
180
182
  return this.controlElementRefs.map(el => el.nativeElement);
181
183
  }
@@ -9,7 +9,7 @@ export const packageMetadata = {
9
9
  name: '@progress/kendo-angular-inputs',
10
10
  productName: 'Kendo UI for Angular',
11
11
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
12
- publishDate: 1731430629,
13
- version: '17.0.1',
12
+ publishDate: 1731591724,
13
+ version: '17.0.2-develop.2',
14
14
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
15
15
  };
@@ -546,8 +546,8 @@ const packageMetadata = {
546
546
  name: '@progress/kendo-angular-inputs',
547
547
  productName: 'Kendo UI for Angular',
548
548
  productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
549
- publishDate: 1731430629,
550
- version: '17.0.1',
549
+ publishDate: 1731591724,
550
+ version: '17.0.2-develop.2',
551
551
  licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
552
552
  };
553
553
 
@@ -12714,7 +12714,7 @@ class FormFieldComponent {
12714
12714
  return control.valueAccessor instanceof RadioControlValueAccessor;
12715
12715
  }
12716
12716
  updateDescription() {
12717
- const controls = this.findControlElements();
12717
+ const controls = this.findControlElements().filter(c => !!c);
12718
12718
  if (!controls) {
12719
12719
  return;
12720
12720
  }
@@ -12734,9 +12734,11 @@ class FormFieldComponent {
12734
12734
  if (!this.controlElementRefs) {
12735
12735
  return;
12736
12736
  }
12737
- // if the control is KendoInput and has focusableId - dropdowns, dateinputs
12737
+ // the control is KendoInput and has focusableId - dropdowns, dateinputs, editor
12738
12738
  if (this.kendoInput && this.kendoInput.focusableId && isDocumentAvailable()) {
12739
- return [this.hostElement.nativeElement.querySelector(`#${this.kendoInput.focusableId}`)];
12739
+ // Editor requires special treatment when in iframe mode
12740
+ const isEditor = this.kendoInput.focusableId.startsWith('k-editor');
12741
+ return isEditor ? [this.kendoInput.viewMountElement] : [this.hostElement.nativeElement.querySelector(`#${this.kendoInput.focusableId}`)];
12740
12742
  }
12741
12743
  return this.controlElementRefs.map(el => el.nativeElement);
12742
12744
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-inputs",
3
- "version": "17.0.1",
3
+ "version": "17.0.2-develop.2",
4
4
  "description": "Kendo UI for Angular Inputs Package - Everything you need to build professional form functionality (Checkbox, ColorGradient, ColorPalette, ColorPicker, FlatColorPicker, FormField, MaskedTextBox, NumericTextBox, RadioButton, RangeSlider, Slider, Switch, TextArea, and TextBox Components)",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -34,18 +34,18 @@
34
34
  "@angular/platform-browser": "16 - 18",
35
35
  "@progress/kendo-drawing": "^1.21.0",
36
36
  "@progress/kendo-licensing": "^1.0.2",
37
- "@progress/kendo-angular-buttons": "17.0.1",
38
- "@progress/kendo-angular-common": "17.0.1",
39
- "@progress/kendo-angular-dialog": "17.0.1",
40
- "@progress/kendo-angular-intl": "17.0.1",
41
- "@progress/kendo-angular-l10n": "17.0.1",
42
- "@progress/kendo-angular-popup": "17.0.1",
43
- "@progress/kendo-angular-icons": "17.0.1",
37
+ "@progress/kendo-angular-buttons": "17.0.2-develop.2",
38
+ "@progress/kendo-angular-common": "17.0.2-develop.2",
39
+ "@progress/kendo-angular-dialog": "17.0.2-develop.2",
40
+ "@progress/kendo-angular-intl": "17.0.2-develop.2",
41
+ "@progress/kendo-angular-l10n": "17.0.2-develop.2",
42
+ "@progress/kendo-angular-popup": "17.0.2-develop.2",
43
+ "@progress/kendo-angular-icons": "17.0.2-develop.2",
44
44
  "rxjs": "^6.5.3 || ^7.0.0"
45
45
  },
46
46
  "dependencies": {
47
47
  "tslib": "^2.3.1",
48
- "@progress/kendo-angular-schematics": "17.0.1",
48
+ "@progress/kendo-angular-schematics": "17.0.2-develop.2",
49
49
  "@progress/kendo-common": "^1.0.1",
50
50
  "@progress/kendo-draggable": "^3.0.0",
51
51
  "@progress/kendo-inputs-common": "^3.1.0"