Open Closed

How to use disable attribute with abp-lookup-select form control? #1297


User avatar
0
hilal.aksoy created

Check the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

  • ABP Framework version: v4.2.2
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • 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)

3 Answer(s)
  • User Avatar
    0
    armanozak created

    Hi hilal.aksoy,

    You can set the disabled property of the component to true. Here is an example:

    <abp-lookup-select
      [disabled]="true"
      cid="authorIdFilter"
      [getFn]="service.getAuthorLookup"
      [(ngModel)]="filters.authorId"
      [ngModelOptions]="{ standalone: true }"
    ></abp-lookup-select>
    

    Please note that, if created by ABP Suite, there are two instances of abp-lookup-select on the same page: one inside the create/update form and another one in the advanced filters.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    armanozak created

    Hi,

    Is this issue resolved?

    Have a nice week.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    armanozak created

    Hi,

    Considering it is resolved, I am closing this issue.

    Have a nice week.

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