diff --git a/src/dispatch/static/dispatch/src/case/type/CaseTypeSelect.vue b/src/dispatch/static/dispatch/src/case/type/CaseTypeSelect.vue index 370c905b7e3c..dcf695fa1f6d 100644 --- a/src/dispatch/static/dispatch/src/case/type/CaseTypeSelect.vue +++ b/src/dispatch/static/dispatch/src/case/type/CaseTypeSelect.vue @@ -130,7 +130,7 @@ export default { } } - filterOptions = SearchUtils.createParametersFromTableOptions({ ...filterOptions }) + filterOptions = SearchUtils.createParametersFromTableOptions({ ...filterOptions }, "CaseType") CaseTypeApi.getAll(filterOptions) .then((response) => { @@ -170,6 +170,7 @@ export default { watch: { project() { + this.validateType() this.fetchData() }, }, diff --git a/src/dispatch/static/dispatch/src/incident/priority/IncidentPrioritySelect.vue b/src/dispatch/static/dispatch/src/incident/priority/IncidentPrioritySelect.vue index 64402fbe57bb..a14387ae925a 100644 --- a/src/dispatch/static/dispatch/src/incident/priority/IncidentPrioritySelect.vue +++ b/src/dispatch/static/dispatch/src/incident/priority/IncidentPrioritySelect.vue @@ -131,6 +131,7 @@ export default { watch: { project() { + this.validatePriority() this.fetchData() }, status() { diff --git a/src/dispatch/static/dispatch/src/incident/type/IncidentTypeSelect.vue b/src/dispatch/static/dispatch/src/incident/type/IncidentTypeSelect.vue index 9ce6a1ec4e97..e51c9fa58a4a 100644 --- a/src/dispatch/static/dispatch/src/incident/type/IncidentTypeSelect.vue +++ b/src/dispatch/static/dispatch/src/incident/type/IncidentTypeSelect.vue @@ -7,7 +7,7 @@ :label="label" return-object :loading="loading" - :rules="[validationRule]" + :rules="[is_type_in_project]" >