J
J
JohnDaniels2016-10-04 03:55:44
Yii
JohnDaniels, 2016-10-04 03:55:44

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:
8642f417ad04466788796b4179687ca2.png
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

1 answer(s)
M
Maxim Fedorov, 2016-10-04
@JohnDaniels

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 question

Ask a Question

731 491 924 answers to any question