From 243872a77103494b3c030439e4ee24071a03ef2a Mon Sep 17 00:00:00 2001 From: Vishesh <8760112+vishesh92@users.noreply.github.com> Date: Thu, 29 Jan 2026 11:40:23 +0530 Subject: [PATCH] Use infinite scroll select (#11991) * addresses the domain selection (listed after the page size) with keyword search --- ui/src/components/view/DedicateDomain.vue | 133 +++++------ .../widgets/InfiniteScrollSelect.vue | 91 ++++++- ui/src/views/iam/AddUser.vue | 121 ++++------ ui/src/views/infra/UsageRecords.vue | 112 ++++----- ui/src/views/storage/CreateTemplate.vue | 111 ++++----- ui/src/views/storage/UploadLocalVolume.vue | 225 +++++++----------- ui/src/views/storage/UploadVolume.vue | 216 +++++++---------- ui/src/views/tools/CreateWebhook.vue | 124 ++++------ ui/src/views/tools/ManageVolumes.vue | 157 +++++------- 9 files changed, 560 insertions(+), 730 deletions(-) diff --git a/ui/src/components/view/DedicateDomain.vue b/ui/src/components/view/DedicateDomain.vue index 0b3645ce418..4b8cc31ae46 100644 --- a/ui/src/components/view/DedicateDomain.vue +++ b/ui/src/components/view/DedicateDomain.vue @@ -18,52 +18,44 @@ - - {{ $t('label.domain') }}* - {{ $t('label.required') }} - - - {{ domain.path || domain.name || domain.description }} - - - - - - {{ $t('label.account') }} - {{ $t('label.domain') }}* + {{ $t('label.required') }} + - - {{ account.name }} - - + v-model:value="domainId" + api="listDomains" + :apiParams="domainsApiParams" + resourceType="domain" + optionValueKey="id" + optionLabelKey="path" + defaultIcon="block-outlined" + v-focus="true" + @change-option-value="handleChangeDomain" /> + + + {{ $t('label.account') }} +
{{ $t('label.domain') }}*
{{ $t('label.required') }}
{{ $t('label.account') }}