ps-toolkit-ui 1.6.73 → 1.6.74
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/bundles/ps-toolkit-ui.umd.js +4 -5
- package/bundles/ps-toolkit-ui.umd.js.map +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js +1 -1
- package/bundles/ps-toolkit-ui.umd.min.js.map +1 -1
- package/esm2015/lib/components/form/vehicle/form.vehicle.component.js +5 -6
- package/fesm2015/ps-toolkit-ui.js +4 -5
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -6952,21 +6952,20 @@
|
|
|
6952
6952
|
this.car.displayLabel = this.carF.displayLabel = this.carG.displayLabel = this.motor.displayLabel = false;
|
|
6953
6953
|
this.car.disabled = this.carF.disabled = this.carG.disabled = this.motor.disabled = this.inp.disabled;
|
|
6954
6954
|
this.inp.setValue = function (v) {
|
|
6955
|
-
console.log(v);
|
|
6956
6955
|
if (v != null && v.Value !== null) {
|
|
6957
6956
|
_this.changeType(v.Type);
|
|
6958
6957
|
setTimeout(function () {
|
|
6959
6958
|
if (v.Type === exports.VehicleType.Motorcycle) {
|
|
6960
|
-
_this.motor.setValue(v, false);
|
|
6959
|
+
_this.motor.setValue(v.Value, false);
|
|
6961
6960
|
}
|
|
6962
6961
|
else if (v.Type === exports.VehicleType.CarF) {
|
|
6963
|
-
_this.carF.setValue(v, false);
|
|
6962
|
+
_this.carF.setValue(v.Value, false);
|
|
6964
6963
|
}
|
|
6965
6964
|
else if (v.Type === exports.VehicleType.Car) {
|
|
6966
|
-
_this.car.setValue(v, false);
|
|
6965
|
+
_this.car.setValue(v.Value, false);
|
|
6967
6966
|
}
|
|
6968
6967
|
else if (v.Type === exports.VehicleType.CarG) {
|
|
6969
|
-
_this.carG.setValue(v, false);
|
|
6968
|
+
_this.carG.setValue(v.Value, false);
|
|
6970
6969
|
}
|
|
6971
6970
|
});
|
|
6972
6971
|
}
|