From 90976d773a60b6ec30fb6a74dde1a218d0126471 Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Tue, 26 Mar 2024 12:43:09 -0500 Subject: [PATCH] renamed protocol Signed-off-by: Matt Bruce --- VDS/Components/TextFields/EntryFieldBase.swift | 2 +- VDS/Protocols/FormFieldable.swift | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) 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