Open Closed

Filter lookup control based on custom parameter #4852


User avatar
1
mmarjeh created

Hi,

I'm trying to implement the following scenario:
I had a department entity which contains head department property, so I need to show all departments except the current in lookup control (In edit mode) but I could not find the way to pass department id to service function.

<abp-lookup-select
cid="department-parent-department-id"
formControlName="parentDepartmentId"
[getFn]="service.getParentDepartmentLookup"
></abp-lookup-select>

  • ABP Framework version: v7.0.2

  • UI type: Angular

  • DB provider: EF Core

  • Tiered (MVC) or Identity Server Separated (Angular): no

  • Exception message and stack trace:

  • Steps to reproduce the issue:"


No answer yet!
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.3.0-preview. Updated on April 11, 2025, 10:10