primitives icon indicating copy to clipboard operation
primitives copied to clipboard

Fix checkbox missing name prop when is not inside a form

Open thefalked opened this issue 2 years ago • 1 comments

Description

This primitive uses a button and when inside a form adds a input. The name was destructured from the component and passed only to the input.

Fix:

  • It was added the name prop to the button if the checkbox is not inside a form.

thefalked avatar Dec 13 '23 22:12 thefalked

I think this is probably OK but I'm reconsidering how we handle our bubble fields which would negate the need here. Need to think through this a bit before I merge.

chaance avatar Sep 27 '24 00:09 chaance