ps-toolkit-ui 1.6.71 → 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 +5 -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/classes/form.class.js +2 -2
- package/esm2015/lib/components/form/vehicle/form.vehicle.component.js +5 -5
- package/fesm2015/ps-toolkit-ui.js +5 -5
- package/fesm2015/ps-toolkit-ui.js.map +1 -1
- package/package.json +1 -1
|
@@ -1814,7 +1814,7 @@
|
|
|
1814
1814
|
this.inputs.forEach(function (inp) {
|
|
1815
1815
|
var iv = _.get(d, inp.name);
|
|
1816
1816
|
if (inp.type === exports.InputType.Vehicle) {
|
|
1817
|
-
var ivt = _.get(d,
|
|
1817
|
+
var ivt = _.get(d, 'Type');
|
|
1818
1818
|
inp.setValue({ Value: iv, Type: ivt }, true);
|
|
1819
1819
|
}
|
|
1820
1820
|
else if (inp.type === exports.InputType.VehicleSearch) {
|
|
@@ -6956,16 +6956,16 @@
|
|
|
6956
6956
|
_this.changeType(v.Type);
|
|
6957
6957
|
setTimeout(function () {
|
|
6958
6958
|
if (v.Type === exports.VehicleType.Motorcycle) {
|
|
6959
|
-
_this.motor.setValue(v, false);
|
|
6959
|
+
_this.motor.setValue(v.Value, false);
|
|
6960
6960
|
}
|
|
6961
6961
|
else if (v.Type === exports.VehicleType.CarF) {
|
|
6962
|
-
_this.carF.setValue(v, false);
|
|
6962
|
+
_this.carF.setValue(v.Value, false);
|
|
6963
6963
|
}
|
|
6964
6964
|
else if (v.Type === exports.VehicleType.Car) {
|
|
6965
|
-
_this.car.setValue(v, false);
|
|
6965
|
+
_this.car.setValue(v.Value, false);
|
|
6966
6966
|
}
|
|
6967
6967
|
else if (v.Type === exports.VehicleType.CarG) {
|
|
6968
|
-
_this.carG.setValue(v, false);
|
|
6968
|
+
_this.carG.setValue(v.Value, false);
|
|
6969
6969
|
}
|
|
6970
6970
|
});
|
|
6971
6971
|
}
|