This repository has been archived by the owner on Jan 30, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#7] Ensure Required, AllowEmpty validation combo works
Per the issue, this patch ensures that if an input is marked as required **and** marked to allow empty that the following works as expected: - If the input name is present in the data set, but a value that evaluates to empty, it will validate as true. - If the input name **is not** present in the data set, it will validate as false.
- Loading branch information
1 parent
9e8f20f
commit 3575ece
Showing
2 changed files
with
76 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters