diff --git a/VDS/Components/TextFields/EntryFieldBase.swift b/VDS/Components/TextFields/EntryFieldBase.swift index 5f74e2f7..5d8957fe 100644 --- a/VDS/Components/TextFields/EntryFieldBase.swift +++ b/VDS/Components/TextFields/EntryFieldBase.swift @@ -13,7 +13,7 @@ import Combine /// Base Class used to build out a Input controls. @objc(VDSEntryField) -open class EntryFieldBase: Control, Changeable, FormFieldValidatable { +open class EntryFieldBase: Control, Changeable, FormFieldInternalValidatable { //-------------------------------------------------- // MARK: - Initializers diff --git a/VDS/Protocols/FormFieldable.swift b/VDS/Protocols/FormFieldable.swift index be7ce3ba..70a69ee5 100644 --- a/VDS/Protocols/FormFieldable.swift +++ b/VDS/Protocols/FormFieldable.swift @@ -19,7 +19,7 @@ public protocol FormFieldable { } /// Protocol for FormFieldable that require internal validation. -public protocol FormFieldValidatable: FormFieldable { +public protocol FormFieldInternalValidatable: FormFieldable { /// Is there an internalError var hasInternalError: Bool { get } /// Internal Error Message that will show. @@ -66,7 +66,6 @@ public struct AnyRule: Rule { } } - /// Generic Validator for a specific FormFieldable. public class FormFieldValidator: FormFieldValidatorable{ public var field: Field