How do I prevent 'Just loading…' in dependent dropdown?

Web Tips Q & ACategory: Krajee PluginsHow do I prevent 'Just loading…' in dependent dropdown?
rossaddison asked 7 months ago

How do I prevent Just loading… in dependent dropdown? Problem: Just see   Loading… in dependent dropdown.   No data appears in the dependent dropdown. Solution:  Not obvious initially. Make sure use yii/helpers/json in sitecontroller. https://stackoverflow.com/questions/23951520/dependent-dropdown-yii2-how-to-do

rossaddison replied 7 months ago

Make sure you use yii/helpers/json in sitecontroller.

rossaddison replied 6 months ago

Make sure you have a field named ‘name’ in each of the databases that you use for each of the databases or models that are linked to the dropdown.

Login or register to contribute or comment.

Login   Register