tnx-shared 5.1.486 → 5.1.487
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/tnx-shared.umd.js +5 -3
- package/bundles/tnx-shared.umd.js.map +1 -1
- package/bundles/tnx-shared.umd.min.js +1 -1
- package/bundles/tnx-shared.umd.min.js.map +1 -1
- package/components/autocomplete-picker/autocomplete-picker.component.d.ts.map +1 -1
- package/components/user-picker/user-picker.component.d.ts.map +1 -1
- package/esm2015/components/autocomplete-picker/autocomplete-picker.component.js +4 -2
- package/esm2015/components/user-picker/user-picker.component.js +4 -2
- package/fesm2015/tnx-shared.js +4 -2
- package/fesm2015/tnx-shared.js.map +1 -1
- package/package.json +2 -2
- package/tnx-shared.metadata.json +1 -1
package/fesm2015/tnx-shared.js
CHANGED
|
@@ -42364,7 +42364,8 @@ class AutoCompletePickerComponent extends ComponentBase {
|
|
|
42364
42364
|
}
|
|
42365
42365
|
writeValue(obj) {
|
|
42366
42366
|
this.hasValue = false;
|
|
42367
|
-
|
|
42367
|
+
let value = !isLiteralObject(obj) ? obj : obj[this.control.valueField];
|
|
42368
|
+
this.getDataSelectedValue(value)
|
|
42368
42369
|
.then(res => {
|
|
42369
42370
|
this.updateSelectedValue();
|
|
42370
42371
|
this.checkFireReady();
|
|
@@ -52454,7 +52455,8 @@ class UserPickerComponent extends ComponentBase {
|
|
|
52454
52455
|
}
|
|
52455
52456
|
else {
|
|
52456
52457
|
if (obj != null) {
|
|
52457
|
-
|
|
52458
|
+
let value = !isLiteralObject(obj) ? obj : obj[this.controlPicker.valueField];
|
|
52459
|
+
this.controlPicker.baseService.getDataDropdownByFilter([this.newFilter(this.controlPicker.valueField, Operator.equal, value)], this.getDropdownOptions()).then((res) => __awaiter(this, void 0, void 0, function* () {
|
|
52458
52460
|
if (res.length > 0) {
|
|
52459
52461
|
yield this.reStructureDataSource(res);
|
|
52460
52462
|
this.results = this.dataSource;
|