Fix routines manage select popup typing for vue-tsc.

EOF

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-11-14 20:48:48 +03:30
co-authored by Cursor
parent d282627af7
commit 3696713443
@@ -228,6 +228,10 @@ function filterSelectOption(input: string, option?: { label?: string }) {
.toLocaleLowerCase('fa')
.includes(q);
}
function selectPopupContainer(node: HTMLElement) {
return node.parentElement ?? document.body;
}
</script>
<template>
@@ -242,7 +246,7 @@ function filterSelectOption(input: string, option?: { label?: string }) {
placeholder="همه مسئول‌ها"
:options="assigneeFilterOptions"
:filter-option="filterSelectOption"
:get-popup-container="(node) => node.parentElement ?? document.body"
:get-popup-container="selectPopupContainer"
style="width: 100%"
/>
</div>
@@ -254,7 +258,7 @@ function filterSelectOption(input: string, option?: { label?: string }) {
placeholder="همه سازنده‌ها"
:options="creatorFilterOptions"
:filter-option="filterSelectOption"
:get-popup-container="(node) => node.parentElement ?? document.body"
:get-popup-container="selectPopupContainer"
style="width: 100%"
/>
</div>