Open Closed

Add item to list when not found for SELECT list in role=combobox mode with select2 and ABP SUITE #5882


User avatar
0
rwright-ruhealth created
  • ABP Framework version: v7.3.2

  • UI Type: MVC

  • Database System: EF Core (SQL Server)

  • Tiered (for MVC) or Auth Server Separated (for Angular): Tiered MVC

  • Exception message and full stack trace:

  • Steps to reproduce the issue:

I would like to have the drop down (multi-select) in MVC prompt the user when an item is not found in the list. Behind the scenes, the MVC razor select is rendered using select2 library and it creates a select2 role="combobox" list control. How to add an item to the list and database if not found in list with out exiting the modal dialog?
Can you point me to some code that is tried and proven? I am sure this is a recurring issue for many. I use ABP suite to generate the basic shell for my items and then heavily modify from there. ABP suite is not usable after making custom mods as it wipes them out in version 7.3.2.

Thank you.


3 Answer(s)
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