changes
This commit is contained in:
parent
62b02b2516
commit
789442f13d
@ -340,10 +340,6 @@ import UIKit
|
|||||||
model.wasInitiallySelected = true
|
model.wasInitiallySelected = true
|
||||||
self.isSelected = true
|
self.isSelected = true
|
||||||
}
|
}
|
||||||
|
|
||||||
if model.dynamicErrorMessage != nil {
|
|
||||||
showError = !(model.isValid ?? true)
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
open override class func estimatedHeight(with model: MoleculeModelProtocol, _ delegateObject: MVMCoreUIDelegateObject?) -> CGFloat? {
|
open override class func estimatedHeight(with model: MoleculeModelProtocol, _ delegateObject: MVMCoreUIDelegateObject?) -> CGFloat? {
|
||||||
|
|||||||
@ -23,11 +23,7 @@ import Foundation
|
|||||||
public var title: String?
|
public var title: String?
|
||||||
public var feedback: String?
|
public var feedback: String?
|
||||||
public var dynamicErrorMessage: String? {
|
public var dynamicErrorMessage: String? {
|
||||||
didSet {
|
didSet { updateUIDynamicError?() }
|
||||||
if dynamicErrorMessage != nil {
|
|
||||||
updateUIDynamicError?()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
public var errorMessage: String?
|
public var errorMessage: String?
|
||||||
public var errorTextColor: Color?
|
public var errorTextColor: Color?
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user