kind of working
This commit is contained in:
parent
db424ce04a
commit
f040331b2c
@ -325,6 +325,8 @@ import UIKit
|
|||||||
model.wasInitiallySelected = true
|
model.wasInitiallySelected = true
|
||||||
self.isSelected = true
|
self.isSelected = true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
showError = model.isValid!
|
||||||
}
|
}
|
||||||
|
|
||||||
open override class func estimatedHeight(with model: MoleculeModelProtocol, _ delegateObject: MVMCoreUIDelegateObject?) -> CGFloat? {
|
open override class func estimatedHeight(with model: MoleculeModelProtocol, _ delegateObject: MVMCoreUIDelegateObject?) -> CGFloat? {
|
||||||
|
|||||||
@ -167,9 +167,11 @@ open class MoleculeListTemplate: ThreeLayerTableViewController, TemplateProtocol
|
|||||||
else { continue }
|
else { continue }
|
||||||
|
|
||||||
entryFieldModel.errorMessage = userError
|
entryFieldModel.errorMessage = userError
|
||||||
|
entryFieldModel.isValid = true
|
||||||
|
entryFieldModel.text = ""
|
||||||
|
|
||||||
DispatchQueue.main.async {
|
DispatchQueue.main.async { [self] in
|
||||||
let c = self.tableView.cellForRow(at: IndexPath(row: 0, section: 0))?.layoutSubviews()
|
tableView.reloadData()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user