Open Closed

How to remove empty element Lookup Select Component from Angular template #7224


User avatar
0
n.uerkmez created
  • ABP Framework version: v8.1.1
  • UI Type: Angular
  • Database System: EF Core (SQL Server, Oracle, MySQL, PostgreSQL, etc..)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue: Hi,

  1. How can I remove the Empty element (the first element of drop-down) from this <abp-lookup-select> component

2 Is that possible to add a placeholder to this component? such as "Please select a status"

Thanks


1 Answer(s)
  • User Avatar
    0
    sumeyye.kurtulus created
    Support Team Angular Expert

    Hello, you can specify the emptyOption input to replace the default dash as follows

Made with ❤️ on ABP v9.1.0-preview. Updated on November 01, 2024, 05:35