diff --git a/application/WorkorderTenantConfig/WorkorderTenantConfigModel.php b/application/WorkorderTenantConfig/WorkorderTenantConfigModel.php index 9c4b9b6af..112679fc9 100644 --- a/application/WorkorderTenantConfig/WorkorderTenantConfigModel.php +++ b/application/WorkorderTenantConfig/WorkorderTenantConfigModel.php @@ -7,7 +7,7 @@ class WorkorderTenantConfigModel extends TTCrudBaseModel { public string $name; public string $documentationTypes; // JSON public string $workorderCreationFilters; // JSON - public string $interventionTypes; // JSON + public ?string $interventionTypes; // JSON public int $civilEngineeringDocsRequired; public int $create; public int $createBy; diff --git a/public/plugins/vue/tt-components/tt-select.js b/public/plugins/vue/tt-components/tt-select.js index 3f32bf2c4..6c4c37184 100644 --- a/public/plugins/vue/tt-components/tt-select.js +++ b/public/plugins/vue/tt-components/tt-select.js @@ -91,6 +91,7 @@ Vue.component('tt-select', { methods: { toggleDropdown() { if (this.disabled) return; + if (!this.open) this.$emit('focus'); this.open = !this.open; },