diff --git a/MVMCoreUI/Atoms/TextFields/EntryField.swift b/MVMCoreUI/Atoms/TextFields/EntryField.swift index 9c344521..af9034d1 100644 --- a/MVMCoreUI/Atoms/TextFields/EntryField.swift +++ b/MVMCoreUI/Atoms/TextFields/EntryField.swift @@ -10,7 +10,7 @@ import UIKit /** * This class is intended to be subclassed by a class that will add views subclassed under UIControl. - * The FieldEntryForm provides the base logic for the description label, placeholder/error label and field container. + * The EntryForm provides the base logic for the description label, placeholder/error label and field container. * * When subclassing, be sure to override setupFieldContainerContent(). In this method you will setup all the content bound to the field container. */ @@ -56,6 +56,7 @@ import UIKit public var isValid = false public var fieldKey: String? + /// Toggles error or original UI. public var showError = false { didSet { entryContainer.showError = showError @@ -64,7 +65,7 @@ import UIKit public var errorMessage: String? - /// Toggles the enables state of this component. + /// Toggles original or disabled UI. public var isEnabled = true { didSet { DispatchQueue.main.async { [weak self] in @@ -78,6 +79,7 @@ import UIKit } } + // Toggles original or locked UI. public var isLocked = false { didSet { DispatchQueue.main.async { [weak self] in