From f95317eb24b0006fcc545c9881c23da52046d506 Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Fri, 12 Jul 2024 14:36:09 -0500 Subject: [PATCH] added var to protocol Signed-off-by: Matt Bruce --- VDS/Protocols/FormFieldable.swift | 3 +++ 1 file changed, 3 insertions(+) diff --git a/VDS/Protocols/FormFieldable.swift b/VDS/Protocols/FormFieldable.swift index 8a620765..82666772 100644 --- a/VDS/Protocols/FormFieldable.swift +++ b/VDS/Protocols/FormFieldable.swift @@ -20,6 +20,9 @@ public protocol FormFieldable { /// Protocol for FormFieldable that require internal validation. public protocol FormFieldInternalValidatable: FormFieldable, Errorable { + /// Rules that drive the validator + var rules: [AnyRule] { get set } + /// Is there an internalError var hasInternalError: Bool { get } /// Internal Error Message that will show.