This commit is contained in:
Suresh, Kamlesh 2020-04-21 14:52:58 -04:00
parent 07d19f6a2c
commit 02a39a2f91

View File

@ -17,6 +17,10 @@
public var options: [String] = [] public var options: [String] = []
public var selectedIndex: Int = 0 public var selectedIndex: Int = 0
public override func formFieldValue() -> AnyHashable? {
return options[selectedIndex]
}
//-------------------------------------------------- //--------------------------------------------------
// MARK: - Keys // MARK: - Keys
@ -26,7 +30,7 @@
case options case options
case selectedIndex case selectedIndex
} }
//-------------------------------------------------- //--------------------------------------------------
// MARK: - Initializers // MARK: - Initializers
//-------------------------------------------------- //--------------------------------------------------