Skip to content
This repository was archived by the owner on May 4, 2020. It is now read-only.
This repository was archived by the owner on May 4, 2020. It is now read-only.

Implement isDirty() functionality. #58

Description

@40818419

Let's imagine we got a Button in a form which suppose to be disabled when required fields in a form are empty. Basically we should prevent user to click / fire event on enter when form is invalid.

Output should be like e.g:

<button disabled={!this.props.isValid() && this.props.isDirty() } > Sign in</button>

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions