Answer the question
In order to leave comments, you need to log in
Is there a city selection widget on YII2?
Hello.
I am making a feedback form, I need to implement a city selection with auto-completion. Approximately as in VK:
It is desirable that it fits painlessly into the usual ActiveForm.
Nobody met such a widget? I can't even come close to anything like that.
Answer the question
In order to leave comments, you need to log in
Widgets with a list of cities are unlikely to exist. the task is quite simple to implement. Do you need a widget with autocompletion? then just take Select2 or similar widgets, implement a city table and load data from the table into the select using Ajax
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question