finish custom class and improved options overhaul

This commit is contained in:
Elijah Duffy
2025-07-03 14:45:23 -07:00
parent c54002f5fa
commit 02311a0e7b
16 changed files with 170 additions and 131 deletions

View File

@@ -28,13 +28,13 @@
validate: validateOpts,
invalidMessage = 'Field is required',
ref = $bindable<HTMLInputElement | null>(null),
class: classList
class: classValue
}: Props = $props();
let valid: boolean = $state(true);
</script>
<div>
<div class={classValue}>
{#if label}
<Label for={id}>{label}</Label>
{/if}
@@ -50,7 +50,6 @@
onvalidate={(e) => {
valid = e.detail.valid;
}}
class={classList}
/>
{#if validateOpts}