Enterprise-ng: SohoLookupComponent processValue() Regression

Created on 15 Jan 2021  路  3Comments  路  Source: infor-design/enterprise-ng

Describe the bug
A regression on processing object lookup value was introduced in this commit 5eec1d7
image
This causes a problem when setting value in the lookup because any value will always be converted to an empty string.

To Reproduce

  1. Go to any lookup demo
  2. Call setValue() with SohoLookupChangeEvent with data as object

Expected behavior
Value must be parsed properly from the event.

Version

  • ids-enterprise-ng: latest

Platform
All

[1] high type

Most helpful comment

We'll need this patched in 9.1.x

All 3 comments

The lookup is empty when the connected [(ngModel)] has an initial value as well. Just open http://localhost:4200/ids-enterprise-ng-demo/lookup

All with a label containing "with existing value" should have a value. They haven't (bunch of console errors too).

We'll need this patched in 9.1.x

Once the errors are fixed and i merge i'll copy it back there.

Was this page helpful?
0 / 5 - 0 ratings