fiix
This commit is contained in:
parent
86612a318c
commit
39e2001533
@ -48,6 +48,9 @@ import MVMCore
|
|||||||
if let validator = delegate?.formValidator {
|
if let validator = delegate?.formValidator {
|
||||||
validator.delegate = delegate
|
validator.delegate = delegate
|
||||||
validator.insert(item)
|
validator.insert(item)
|
||||||
|
|
||||||
|
// TODO: Temporary hacks, rewrite architecture to support this.
|
||||||
|
_ = validator.validate()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -11,7 +11,7 @@ import Foundation
|
|||||||
|
|
||||||
public class RuleRequiredModel: RulesProtocol {
|
public class RuleRequiredModel: RulesProtocol {
|
||||||
|
|
||||||
public static var identifier: String = "required"
|
public static var identifier: String = "allRequired"
|
||||||
public var type: String = RuleRequiredModel.identifier
|
public var type: String = RuleRequiredModel.identifier
|
||||||
public var fields: [String]
|
public var fields: [String]
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user