[READ-ONLY] Mirror of https://github.com/probablykasper/niceform. Convenient form validation and typing for SvelteKit
0

Configure Feed

Select the types of activity you want to include in your feed.

Fix class being overridden

authored by

Kasper and committed by
GitHub
(Feb 2, 2025, 11:26 AM +0100) 1961a8c4 b59bc20a

+1 -1
+1 -1
README.md
··· 63 63 {#if label} 64 64 <label class="text-label mb-0.5 block text-sm" for={props.id ?? id}>{label}</label> 65 65 {/if} 66 - <input class={['input', props['class']]} id={label ? id : undefined} bind:value {...props} /> 66 + <input id={label ? id : undefined} bind:value {...props} class={['input', props['class']]} /> 67 67 {#if props.name && errors[props.name]} 68 68 <span class="text-red-500">{errors[props.name]}</span> 69 69 {/if}