Skip to content

Commit

Permalink
[fix](core): add required prop to checkbox
Browse files Browse the repository at this point in the history
ISSUES CLOSED: #492
  • Loading branch information
BeeMargarida committed Apr 11, 2024
1 parent a854d0c commit 5d896c6
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
radius: $$Props['radius'] = 'sm',
size: $$Props['size'] = 'md',
name: $$Props['name'] = '',
required: $$Props['required'] = false,
transitionDuration: $$Props['transitionDuration'] = 100;
export { className as class };
Expand Down Expand Up @@ -66,6 +67,7 @@ A checkbox input component using the theme styles with support for a label and i
class:disabled
type="checkbox"
{disabled}
{required}
{value}
{id}
{name}
Expand Down

0 comments on commit 5d896c6

Please sign in to comment.