reverting change
This commit is contained in:
parent
217ec0333e
commit
904f8a35a2
@ -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 }
|
||||
}
|
||||
|
||||
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user