@@ -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