spelling
This commit is contained in:
parent
93b43d6333
commit
3df9b65098
@ -41,7 +41,7 @@ public extension RulesProtocol {
|
|||||||
return "\(RulesProtocol.self)"
|
return "\(RulesProtocol.self)"
|
||||||
}
|
}
|
||||||
|
|
||||||
// Indiviidual rule can override the function to validate based on the rule type.
|
// Individual rule can override the function to validate based on the rule type.
|
||||||
func validate(_ fieldMolecules: [String: FormFieldProtocol]) -> Bool {
|
func validate(_ fieldMolecules: [String: FormFieldProtocol]) -> Bool {
|
||||||
var valid = true
|
var valid = true
|
||||||
for formKey in fields {
|
for formKey in fields {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user