- Update districts.
- Update districts.
- Update districts.
- Fixed the issue of trigger change event twice (#68).
- Update districts.
- Update districts.
- Trigger change event once district changed.
- Support to load in node environment.
- Update districts.
- Update districts.
- Update districts.
- Use
window.jQuery
instead ofwindow.$
for browser side usage. - Change the
main
field value fromdist/distpicker.js
(UMD) todist/distpicker.common.js
(CommonJS). - Added
module
andbrowser
fields topackage.json
.
- Update districts.
- Build the source code with Rollup.
- Fixed the issue of restoring saved districts by code (#19).
- Rename
autoSelect
option toautoselect
. - Subdivide optional values for
autoselect
option (#13). - Fixed the wrong value of the
<select>
elements (#18).
- Merge the
distpicker.data.js
file to thedistpicker.js
file. - Added a new option:
valueType
. - Added a new method:
getDistricts
.
- Update districts data.
- Update districts data.
- Update lots of districts.
- Added new cities of Xizang (Tibet).
- Added new districts of Sanya city.
- Optimized code style.
- Enable to change the global default options.
- Fix placeholder bug.
- Improve code.
- Add new options: "autoSelect", "placeholder".
- Add new methods: "reset", "destroy".
- Use "data-distpicker" attribute for initializing automatically instead of "distpicker" attribute.
- Improve
- Fix a type error bug when initialize a city without districts.
- Fix bug: The default options will be changed when use multiple times in one page.