@po-ui/ng-components 6.5.1 → 6.6.0
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.
- package/esm2020/lib/components/po-field/po-combo/po-combo-base.component.mjs +2 -2
- package/esm2020/lib/components/po-field/po-radio-group/po-radio-group-base.component.mjs +5 -2
- package/esm2020/lib/components/po-field/po-radio-group/po-radio-group.component.mjs +2 -1
- package/fesm2015/po-ui-ng-components.mjs +7 -2
- package/fesm2015/po-ui-ng-components.mjs.map +1 -1
- package/fesm2020/po-ui-ng-components.mjs +6 -2
- package/fesm2020/po-ui-ng-components.mjs.map +1 -1
- package/lib/components/po-field/po-radio-group/po-radio-group-base.component.d.ts +1 -0
- package/package.json +4 -4
- package/po-ui-ng-components-6.6.0.tgz +0 -0
- package/schematics/ng-add/index.js +1 -1
- package/schematics/ng-update/v2/index.js +1 -1
- package/schematics/ng-update/v3/index.js +1 -1
- package/schematics/ng-update/v4/index.js +1 -1
- package/schematics/ng-update/v5/index.js +1 -1
- package/schematics/ng-update/v6/index.js +1 -1
- package/po-ui-ng-components-6.5.1.tgz +0 -0
|
@@ -17694,7 +17694,7 @@ class PoComboBaseComponent {
|
|
|
17694
17694
|
this.setInputValue(optionLabel);
|
|
17695
17695
|
}
|
|
17696
17696
|
if (isUpdateModel) {
|
|
17697
|
-
const optionValue =
|
|
17697
|
+
const optionValue = option?.value !== undefined ? option.value : undefined;
|
|
17698
17698
|
this.updateModel(optionValue);
|
|
17699
17699
|
}
|
|
17700
17700
|
}
|
|
@@ -28812,6 +28812,7 @@ class PoRadioGroupBaseComponent {
|
|
|
28812
28812
|
*/
|
|
28813
28813
|
this.change = new EventEmitter();
|
|
28814
28814
|
this.mdColumns = poRadioGroupColumnsDefaultLength;
|
|
28815
|
+
this.onTouched = null;
|
|
28815
28816
|
this._columns = poRadioGroupColumnsDefaultLength;
|
|
28816
28817
|
this._disabled = false;
|
|
28817
28818
|
this._required = false;
|
|
@@ -28901,7 +28902,9 @@ class PoRadioGroupBaseComponent {
|
|
|
28901
28902
|
registerOnChange(fn) {
|
|
28902
28903
|
this.onChangePropagate = fn;
|
|
28903
28904
|
}
|
|
28904
|
-
registerOnTouched(fn) {
|
|
28905
|
+
registerOnTouched(fn) {
|
|
28906
|
+
this.onTouched = fn;
|
|
28907
|
+
}
|
|
28905
28908
|
registerOnValidatorChange(fn) {
|
|
28906
28909
|
this.validatorChange = fn;
|
|
28907
28910
|
}
|
|
@@ -29044,6 +29047,7 @@ class PoRadioGroupComponent extends PoRadioGroupBaseComponent {
|
|
|
29044
29047
|
}
|
|
29045
29048
|
eventClick(value, disabled) {
|
|
29046
29049
|
if (!disabled) {
|
|
29050
|
+
this.onTouched?.();
|
|
29047
29051
|
this.changeValue(value);
|
|
29048
29052
|
}
|
|
29049
29053
|
}
|