From 5cf2427399f3939da4f0ab4715fa006a13a5113b Mon Sep 17 00:00:00 2001 From: joanagmaia Date: Tue, 12 Nov 2024 11:26:01 +0000 Subject: [PATCH] Add spinner to organization creation in work experiences (#2683) --- .../components/shared/organization-select.vue | 49 ++++++++++++------- 1 file changed, 31 insertions(+), 18 deletions(-) diff --git a/frontend/src/modules/organization/components/shared/organization-select.vue b/frontend/src/modules/organization/components/shared/organization-select.vue index 9207cd48e2..4439032e64 100644 --- a/frontend/src/modules/organization/components/shared/organization-select.vue +++ b/frontend/src/modules/organization/components/shared/organization-select.vue @@ -3,7 +3,7 @@ v-model="form" :fetch-fn="fetchOrganizations" :create-fn="createOrganization" - placeholder="Select organization" + :placeholder="isCreatingOrganization ? 'Creating organization...' : 'Select organization'" input-class="organization-input" :create-if-not-found="true" :in-memory-filter="false" @@ -11,7 +11,10 @@ class="w-full" :teleported="false" > -