[FIX] EMPLOYEE: #913

This commit is contained in:
Horilla
2025-09-15 12:39:24 +05:30
parent de1a8cd0a4
commit 80372dee6d
2 changed files with 124 additions and 119 deletions

View File

@@ -730,10 +730,13 @@ function populateCountries(countryElementId, stateElementId) {
}
countryEl.options[countryEl.length] = option;
}
// # 913
countryEl.onchange = function () {
let selectedValue = this.value;
this.setAttribute("data-selected", selectedValue);
};
if (stateEl) {
populateStates(countryElementId, stateElementId);
countryEl.onchange = function () {
populateStates(countryElementId, stateElementId);
};