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