mirror of
https://github.com/danog/CodiceFiscaleJS.git
synced 2024-11-26 12:04:41 +01:00
Corretto ordine alfabetico delle province
This commit is contained in:
parent
9e15d4a82b
commit
120917d8d8
2
dist/codice.fiscale.amd.js
vendored
2
dist/codice.fiscale.amd.js
vendored
File diff suppressed because one or more lines are too long
2
dist/codice.fiscale.commonjs2.js
vendored
2
dist/codice.fiscale.commonjs2.js
vendored
File diff suppressed because one or more lines are too long
2
dist/codice.fiscale.umd.js
vendored
2
dist/codice.fiscale.umd.js
vendored
File diff suppressed because one or more lines are too long
2
dist/codice.fiscale.var.js
vendored
2
dist/codice.fiscale.var.js
vendored
File diff suppressed because one or more lines are too long
@ -51,7 +51,8 @@ export function birthplaceFields (provinceSelector, birthplaceSelector) {
|
||||
optGroupEE.label = '-----------'
|
||||
provinceSelect.appendChild(optGroupProv)
|
||||
provinceSelect.appendChild(optGroupEE)
|
||||
Object.keys(PROVINCE).forEach((code, i) => {
|
||||
|
||||
Object.keys(PROVINCE).sort(function(a,b){return PROVINCE[a]-PROVINCE[b]}).forEach((code, i) => {
|
||||
const name = PROVINCE[code]
|
||||
const option = document.createElement('option')
|
||||
option.value = code
|
||||
|
Loading…
Reference in New Issue
Block a user