From d975e2c0b441d66c66550591961a56e6a75abdd1 Mon Sep 17 00:00:00 2001 From: Julia Lehmann Date: Mon, 27 May 2024 13:54:07 +0200 Subject: [PATCH] #923: clear input after remove --- .../src/components/schema/VMultiUserInput.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/digiwf-apps/packages/apps/digiwf-tasklist/src/components/schema/VMultiUserInput.vue b/digiwf-apps/packages/apps/digiwf-tasklist/src/components/schema/VMultiUserInput.vue index 374ce8787..2d01518cb 100644 --- a/digiwf-apps/packages/apps/digiwf-tasklist/src/components/schema/VMultiUserInput.vue +++ b/digiwf-apps/packages/apps/digiwf-tasklist/src/components/schema/VMultiUserInput.vue @@ -3,7 +3,7 @@ !a11YNotificationEnabled()); + const screenreaderMode = computed(() => !a11YNotificationEnabled()); watch(searchText, (newValue) => { searchUsersBySearchString(newValue); @@ -228,6 +228,7 @@ export default defineComponent({ selectedUsers.value = selectedUsers.value.filter( (it) => it.lhmObjectId !== user.lhmObjectId ); + props.on.input(selectedUsers.value); }; const mucatarUrl = (uid: string) => mucatarURL(uid); @@ -284,7 +285,7 @@ export default defineComponent({ } return { - autoSelectFirst, + screenreaderMode, resetInput, change, getFullName,