From 4878fc70ab4b544cca289fbdcd32c91cb4362c86 Mon Sep 17 00:00:00 2001 From: Matt Bruce Date: Wed, 27 Jul 2022 10:34:36 -0500 Subject: [PATCH] added associated type Signed-off-by: Matt Bruce --- VDS/Protocols/FormFieldable.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/VDS/Protocols/FormFieldable.swift b/VDS/Protocols/FormFieldable.swift index 41017204..52deef7e 100644 --- a/VDS/Protocols/FormFieldable.swift +++ b/VDS/Protocols/FormFieldable.swift @@ -8,6 +8,7 @@ import Foundation public protocol FormFieldable { + associatedtype ValueType var inputId: String? { get set } - var value: AnyHashable? { get set } + var value: ValueType? { get set } }