This commit is contained in:
Suresh, Kamlesh 2020-04-02 10:18:40 -04:00
parent 86612a318c
commit 39e2001533
2 changed files with 4 additions and 1 deletions

View File

@ -48,6 +48,9 @@ import MVMCore
if let validator = delegate?.formValidator {
validator.delegate = delegate
validator.insert(item)
// TODO: Temporary hacks, rewrite architecture to support this.
_ = validator.validate()
}
}

View File

@ -11,7 +11,7 @@ import Foundation
public class RuleRequiredModel: RulesProtocol {
public static var identifier: String = "required"
public static var identifier: String = "allRequired"
public var type: String = RuleRequiredModel.identifier
public var fields: [String]