added associated type
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
d61f60cc21
commit
4878fc70ab
@ -8,6 +8,7 @@
|
|||||||
import Foundation
|
import Foundation
|
||||||
|
|
||||||
public protocol FormFieldable {
|
public protocol FormFieldable {
|
||||||
|
associatedtype ValueType
|
||||||
var inputId: String? { get set }
|
var inputId: String? { get set }
|
||||||
var value: AnyHashable? { get set }
|
var value: ValueType? { get set }
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user