This commit is contained in:
Suresh, Kamlesh 2019-01-24 12:02:52 -05:00
parent efabc619e3
commit e04949ca8c

View File

@ -9,6 +9,7 @@
import UIKit
import MVMCore
public class MFTextFieldListView: MFView {
public var textFieldMapList: [[String: Any]]?
@ -47,9 +48,9 @@ public class MFTextFieldListView: MFView {
for textFieldMap in textFieldMapList {
if let textField = MFTextField(map: textFieldMap, bothDelegates: self) {
// if textFieldMap.boolForKey("required") {
// textFieldsToValidate.append(textField)
// }
if textFieldMap.boolForKey("required") {
textFieldsToValidate.append(textField)
}
textFields.append(textField)
if let fieldKey = textField.fieldKey {