diff --git a/frontend/src/components/StudentSearch/StudentAdvancedSearch.vue b/frontend/src/components/StudentSearch/StudentAdvancedSearch.vue index 2e177398..7754bda9 100644 --- a/frontend/src/components/StudentSearch/StudentAdvancedSearch.vue +++ b/frontend/src/components/StudentSearch/StudentAdvancedSearch.vue @@ -251,7 +251,7 @@ -
+
+
+ +
@@ -520,7 +530,7 @@ export default { // }, findStudentsByAdvancedSearch: function () { this.advancedSearchMessage = ""; - this.message = ""; + this.advancedSearchAPIMessage = ""; this.errorMessage = ""; if (this.v$.$invalid) { @@ -593,7 +603,6 @@ export default { }, keyHandler: function (e) { if (e.keyCode === 13) { - this.studentSearchResults = []; //enter key pressed this.findStudentsByAdvancedSearch(); } @@ -609,6 +618,9 @@ export default { } this.advancedSearchInput.birthdateFrom.value = ""; this.advancedSearchInput.birthdateTo.value = ""; + this.advancedSearchMessage = ""; + this.advancedSearchAPIMessage = ""; + this.errorMessage = ""; }, advancedSearchValidate(obj) { //check if all inputs are empty