Fix routines manage select popup typing for vue-tsc.
EOF Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -228,6 +228,10 @@ function filterSelectOption(input: string, option?: { label?: string }) {
|
|||||||
.toLocaleLowerCase('fa')
|
.toLocaleLowerCase('fa')
|
||||||
.includes(q);
|
.includes(q);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function selectPopupContainer(node: HTMLElement) {
|
||||||
|
return node.parentElement ?? document.body;
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
@@ -242,7 +246,7 @@ function filterSelectOption(input: string, option?: { label?: string }) {
|
|||||||
placeholder="همه مسئولها"
|
placeholder="همه مسئولها"
|
||||||
:options="assigneeFilterOptions"
|
:options="assigneeFilterOptions"
|
||||||
:filter-option="filterSelectOption"
|
:filter-option="filterSelectOption"
|
||||||
:get-popup-container="(node) => node.parentElement ?? document.body"
|
:get-popup-container="selectPopupContainer"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@@ -254,7 +258,7 @@ function filterSelectOption(input: string, option?: { label?: string }) {
|
|||||||
placeholder="همه سازندهها"
|
placeholder="همه سازندهها"
|
||||||
:options="creatorFilterOptions"
|
:options="creatorFilterOptions"
|
||||||
:filter-option="filterSelectOption"
|
:filter-option="filterSelectOption"
|
||||||
:get-popup-container="(node) => node.parentElement ?? document.body"
|
:get-popup-container="selectPopupContainer"
|
||||||
style="width: 100%"
|
style="width: 100%"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user