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