Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds tooltip property to inputTags and adds tool tip to Enum Elements… #746

Merged
merged 4 commits into from
Jan 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -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=
3 changes: 2 additions & 1 deletion src/lib/elements/forms/inputTags.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -77,7 +78,7 @@
value={tags.join(',')}
{required}
on:invalid={handleInvalid} />
<Label {required} hide={!showLabel} for={id}>
<Label {required} {tooltip} hide={!showLabel} for={id}>
{label}
</Label>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,10 @@
label="Elements"
bind:tags={data.elements}
placeholder="Add elements here"
required />
tooltip="Enum elements have a maxiumum length of 255 characters. This limit can not be exceeded."
required>
</InputTags>

<InputSelect
id="default"
label="Default value"
Expand Down
Loading