Skip to content

Fix CheckboxWithLabel integration with Form #9065

@luacmartins

Description

@luacmartins

Problem

While refactoring AddDebitCard to use our Form component, I noticed that CheckboxWithLabel only works when the shouldSaveDraft prop is passed.

Why is this important

The component should work with Form so it can be used in our refactors

Solution

Make it work without passing shouldSaveDraft

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions