Skip to content

Add support for multiple input elements in a form-group fixes #22 and #35#36

Open
jantimon wants to merge 1 commit intopaulyoder:masterfrom
jantimon:master
Open

Add support for multiple input elements in a form-group fixes #22 and #35#36
jantimon wants to merge 1 commit intopaulyoder:masterfrom
jantimon:master

Conversation

@jantimon
Copy link

The attached pull request turns the boolean blurred into a map blurred[inputName].

After a change / blur event the isValid and the isBlurred helper functions check if all elements are blurred and sets/removes the error class.

The previous tests weren't modified and are still running.
Added tests for the new feature.

Fixes #22 and #35

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Multiple form elements in a form group

1 participant