Merge branch 'bugfix/form_fix' into 'develop'
fix See merge request BPHV_MIPS/mvm_core_ui!344
This commit is contained in:
commit
cfb2c3c78a
@ -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