reverting change

This commit is contained in:
Kevin G Christiano 2020-04-15 13:00:04 -04:00
parent 217ec0333e
commit 904f8a35a2
3 changed files with 2 additions and 2 deletions

View File

@ -31,6 +31,7 @@ import UIKit
return formatter
}()
/// Update the property value to alter the format of how the date is presented.
public var dateFormat: String = "MMM d, y" {
didSet { dateFormatter.dateFormat = dateFormat }
}

View File

@ -67,7 +67,7 @@ import UIKit
public var showError: Bool {
get { return entryFieldContainer.showError }
set (error) {
self.feedback = error ? entryFieldModel?.errorMessage : entryFieldModel?.informativeMessage
self.feedback = error ? entryFieldModel?.errorMessage : entryFieldModel?.feedback
self.entryFieldContainer.showError = error
}
}

View File

@ -87,7 +87,6 @@ import Foundation
}
feedback = try typeContainer.decodeIfPresent(String.self, forKey: .feedback)
informativeMessage = feedback
if let errorMessage = try typeContainer.decodeIfPresent(String.self, forKey: .errorMessage) {
self.errorMessage = errorMessage