This commit is contained in:
Kevin G Christiano 2021-01-07 10:37:46 -05:00
parent 62b02b2516
commit 789442f13d
2 changed files with 1 additions and 9 deletions

View File

@ -340,10 +340,6 @@ import UIKit
model.wasInitiallySelected = true
self.isSelected = true
}
if model.dynamicErrorMessage != nil {
showError = !(model.isValid ?? true)
}
}
open override class func estimatedHeight(with model: MoleculeModelProtocol, _ delegateObject: MVMCoreUIDelegateObject?) -> CGFloat? {

View File

@ -23,11 +23,7 @@ import Foundation
public var title: String?
public var feedback: String?
public var dynamicErrorMessage: String? {
didSet {
if dynamicErrorMessage != nil {
updateUIDynamicError?()
}
}
didSet { updateUIDynamicError?() }
}
public var errorMessage: String?
public var errorTextColor: Color?