You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lookup field reverts to blank/empty if the previously selected record (value) for that lookup field has been deactivated.
Expected Behavior
The selected deactivated lookup record should persist and the lookup field should not self-clear (become null) if previously selected record is deactivated. Similar to the OOB lookup control. The selected lookup value should persist regardless of its state.
Steps to reproduce
Using the lockdown, select a record from dropdown
Deactivate the selected record
Go back to the main form, the Lookdown control would show an empty value
Additional context
No response
The text was updated successfully, but these errors were encountered:
dataverseDev
changed the title
[Bug]: Lookdown control - value is empty if previously selected lookup is made inactive/not a an option in list
[Bug]: Lookdown control - value is empty if previously selected lookup is deactivated/made inactive
Jan 21, 2025
hi @dataverseDev thanks for reporting! the component is looking for the selected item from available options from the lookup view. when the item is deactivated the record is not included in the options list. that's why the value is set to empty.
I'll fix this and let you know when it is available in the next release.
Component
Lookdown
Component version
1.1.1.0
Current Behavior
Lookup field reverts to blank/empty if the previously selected record (value) for that lookup field has been deactivated.
Expected Behavior
The selected deactivated lookup record should persist and the lookup field should not self-clear (become null) if previously selected record is deactivated. Similar to the OOB lookup control. The selected lookup value should persist regardless of its state.
Steps to reproduce
Additional context
No response
The text was updated successfully, but these errors were encountered: