mirror of
https://github.com/pocket-id/pocket-id.git
synced 2025-12-18 19:22:58 +03:00
feat: add required indicator for required inputs (#993)
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
|
||||
<div {...restProps}>
|
||||
{#if label}
|
||||
<Label class="mb-0" for={id}>{label}</Label>
|
||||
<Label required={input?.required} class="mb-0" for={id}>{label}</Label>
|
||||
{/if}
|
||||
{#if description}
|
||||
<p class="text-muted-foreground mt-1 text-xs">
|
||||
|
||||
Reference in New Issue
Block a user