From 980e4528a1db9cd248bdb634d7249ef0d35754e2 Mon Sep 17 00:00:00 2001 From: int2001 Date: Mon, 29 Sep 2025 18:59:48 +0000 Subject: [PATCH] Fix editing Counties --- assets/js/sections/common.js | 1 + assets/js/sections/qso.js | 1 + 2 files changed, 2 insertions(+) diff --git a/assets/js/sections/common.js b/assets/js/sections/common.js index a737cbce9..2dcf0ac58 100644 --- a/assets/js/sections/common.js +++ b/assets/js/sections/common.js @@ -607,6 +607,7 @@ function qso_save() { } function selectize_usa_county(state_field, county_field) { + $(county_field).selectize()[0].selectize.destroy(); $(county_field).selectize({ delimiter: ';', maxItems: 1, diff --git a/assets/js/sections/qso.js b/assets/js/sections/qso.js index f889b23b8..889674610 100644 --- a/assets/js/sections/qso.js +++ b/assets/js/sections/qso.js @@ -627,6 +627,7 @@ $('#stateDropdown').on('change', function () { case '6': case '110': case '291': + $("#stationCntyInputQso").selectize()[0].selectize.destroy(); $("#stationCntyInputQso").prop('disabled', false); $('#stationCntyInputQso').selectize({ maxItems: 1,