0
Views
2
Comments
Autocomplete when no list items
Question
If you are using the RichWidgets\Input_AutoComplete and there is no list, how can you have it display something that says "No items found" with no clickable action within it?
2024-01-22 15-21-29
Pedro Cardoso
Hello Jason.

You can add an item to the list that you're retrieving from the database with an id of 0 so that is not a valid element, and with the text you want.

Cheers
Pedro
2017-08-09 12-12-29
Jason Herrington
Ah!  Cool beans.  Thank you Pedro!
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.