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:"
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

No answer yet!
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.