-
-
-
-
-
-
- {{f.form.employee_first_name}}
-
-
-
- {{f.form.email}}
-
-
-
- {{f.form.country}}
-
+
+
+
+
+
+
+ {{f.form.employee_first_name}}
+
+
+
+ {{f.form.email}}
+
+
+
+ {% comment %} # 913 {% endcomment %}
+
+
+
+
+
+ {{f.form.employee_last_name}}
+
+
+
+ {{f.form.phone}}
+
+
+
+ {{f.form.gender}}
+
+
+
+
+
+
+
+
+
+
+
+
+ {{f.form.employee_work_info__company_id}}
+
+
+
+ {{f.form.employee_work_info__department_id}}
+
+
+
+ {{f.form.employee_work_info__shift_id}}
+
+
+
+ {{f.form.employee_work_info__tags}}
+
+
+
+
+
+ {{f.form.employee_work_info__reporting_manager_id}}
+
+
+
+ {{f.form.employee_work_info__job_position_id}}
+
+
+
+ {{f.form.employee_work_info__work_type_id}}
+
+
+
+ {{f.form.working_today}}
+
+
+
-
-
-
- {{f.form.employee_last_name}}
-
-
-
- {{f.form.phone}}
-
-
-
- {{f.form.gender}}
-
-
-
-
-
-
-
-
-
-
-
- {{f.form.employee_work_info__company_id}}
-
-
-
- {{f.form.employee_work_info__department_id}}
-
-
-
- {{f.form.employee_work_info__shift_id}}
-
-
-
- {{f.form.employee_work_info__tags}}
-
-
+
+
+
+
+
+
+
+
+ {{f.form.employee_user_id__user_permissions}}
+
+
+
+ {{f.form.probation_till}}
+
+
+
+ {{f.form.is_from_onboarding}}
+
+
+
-
-
-
- {{f.form.employee_work_info__reporting_manager_id}}
-
-
-
- {{f.form.employee_work_info__job_position_id}}
-
-
-
- {{f.form.employee_work_info__work_type_id}}
-
-
-
- {{f.form.working_today}}
-
-
-
-
-
-
-
-
-
-
-
-
- {{f.form.employee_user_id__user_permissions}}
-
-
-
- {{f.form.probation_till}}
-
-
-
- {{f.form.is_from_onboarding}}
-
-
-
-
-
-
+
diff --git a/static/index/country.js b/static/index/country.js
index 39933fd2d..b2c3a1159 100644
--- a/static/index/country.js
+++ b/static/index/country.js
@@ -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);
};