From b0ea035491af03d7c8abaf09026a77696a80faa7 Mon Sep 17 00:00:00 2001 From: wess Date: Fri, 26 Jan 2024 09:44:02 -0500 Subject: [PATCH 1/4] Adds tooltip property to inputTags and adds tool tip to Enum Elements field --- .env.example | 2 +- src/lib/elements/forms/inputTags.svelte | 3 ++- .../collection-[collection]/attributes/enum.svelte | 10 +++++++--- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.env.example b/.env.example index 0eca036483..e989d67faa 100644 --- a/.env.example +++ b/.env.example @@ -2,4 +2,4 @@ VITE_APPWRITE_ENDPOINT=http://localhost/v1 VITE_APPWRITE_GROWTH_ENDPOINT= VITE_GA_PROJECT= VITE_CONSOLE_MODE=self-hosted -VITE_STRIPE_PUBLIC_KEY= +VITE_STRIPE_PUBLIC_KEY= \ No newline at end of file diff --git a/src/lib/elements/forms/inputTags.svelte b/src/lib/elements/forms/inputTags.svelte index c3f6bdde6e..2d3caac210 100644 --- a/src/lib/elements/forms/inputTags.svelte +++ b/src/lib/elements/forms/inputTags.svelte @@ -12,6 +12,7 @@ export let disabled = false; export let readonly = false; export let required = false; + export let tooltip: string = null; let value = ''; let element: HTMLInputElement; @@ -77,7 +78,7 @@ value={tags.join(',')} {required} on:invalid={handleInvalid} /> -