Skip to content

Fix CheckboxWithLabel integration with Form #9065

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions