Open Closed

Set prefefined selected value in an abp-lookup-typeahead component #7160


User avatar
0
Angelo_Nestola created
  • ABP Framework version: v8.1.1
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): no
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

Hello, I have a problem with the abp-lookup-typeahead component: I cannot set a predefined selected value. Example: I want to filter my list by a value displayed in a typeahead in my advanced filters. If I pass the id in the queryParams and set the filter (filters.myId), the list is correctly filtered, but the typeahead is not set to the correct value. How can I fix this?

Thank you in advance.


3 Answer(s)
  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello,

    Please check out the documentation https://docs.abp.io/en/commercial/latest/ui/angular/lookup-components if finds helpful

    thanks

  • User Avatar
    0
    Angelo_Nestola created

    Hello, by reading the documentation I was not able to understand how to set a predefined value for the typeahead component.

    Thank you

  • User Avatar
    0
    Anjali_Musmade created
    Support Team Support Team Member

    Hello,

    could you please share any code snippet to reproduce the issue or you may share any sample project at support@abp.io so that we can better assist you.

    Thanks

Made with ❤️ on ABP v8.2.0-preview Updated on 3月 25, 2024, 15:11