Skip to content

Commit

Permalink
Merge pull request #758 from gympass/bugfix/checkbox-attributes
Browse files Browse the repository at this point in the history
🐞 fix (DS-805): spread checkbox attributes props to input
  • Loading branch information
MicaelRodrigues authored Mar 13, 2024
2 parents 5030492 + 60d79fb commit 17ca9fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/yoga/src/Checkbox/web/Checkbox.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,7 @@ const Checkbox = ({
checked={checked}
disabled={disabled}
{...(value ? { value } : {})}
{...restWithoutEvents}
onChange={onChange}
onClick={onClick}
/>
Expand Down

0 comments on commit 17ca9fd

Please sign in to comment.