consistent use of :optionDisabled="getOptionDisabled" for paabgabetyp dropdowns in assistenz view

This commit is contained in:
Johann Hoffmann
2026-02-16 03:41:30 +01:00
parent 60294dd8f2
commit 3831f3c1d7
2 changed files with 7 additions and 2 deletions
@@ -729,6 +729,7 @@ export const AbgabeMitarbeiterDetail = {
v-model="newTermin.bezeichnung"
:options="getAllowedAbgabeTypeOptions"
:optionLabel="getOptionLabelAbgabetyp"
:optionDisabled="getOptionDisabled"
scrollHeight="300px">
</Dropdown>
</div>
@@ -966,7 +966,10 @@ export const AbgabetoolAssistenz = {
// this.loadProjektarbeiten()
this.calcMaxTableHeight()
}
},
getOptionDisabled(option) {
return !option.aktiv
},
},
computed: {
emailItems() {
@@ -1176,7 +1179,8 @@ export const AbgabetoolAssistenz = {
:style="{'width': '100%'}"
v-model="serienTermin.bezeichnung"
:options="abgabeTypeOptions"
:optionLabel="getOptionLabelAbgabetyp">
:optionLabel="getOptionLabelAbgabetyp"
:optionDisabled="getOptionDisabled">
</Dropdown>
</div>
</div>