Release 2025-05-21-AQ5C
This commit is contained in:
@@ -25,8 +25,19 @@ const hasError = !!wrapperProps.error && wrapperProps.error.length > 0
|
||||
<InputWrapper inputId={inputId} {...wrapperProps}>
|
||||
{
|
||||
!!removeCheckbox && (
|
||||
<label class="flex cursor-pointer items-center gap-2 py-1 pl-1 text-sm leading-none">
|
||||
<input transition:persist type="checkbox" name={removeCheckbox.name} data-remove-checkbox />
|
||||
<label
|
||||
class={cn(
|
||||
'flex cursor-pointer items-center gap-2 py-1 pl-1 text-sm leading-none',
|
||||
disabled && 'cursor-not-allowed opacity-50'
|
||||
)}
|
||||
>
|
||||
<input
|
||||
transition:persist
|
||||
type="checkbox"
|
||||
name={removeCheckbox.name}
|
||||
data-remove-checkbox
|
||||
disabled={disabled}
|
||||
/>
|
||||
{removeCheckbox.label || 'Remove'}
|
||||
</label>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user