This commit is contained in:
Suresh, Kamlesh 2020-04-21 15:09:40 -04:00
parent 02a39a2f91
commit db61701c2c

View File

@ -18,7 +18,8 @@
public var options: [String] = []
public var selectedIndex: Int = 0
public override func formFieldValue() -> AnyHashable? {
public override func formFieldValue() -> AnyHashable? {
guard !options.isEmpty else { return nil }
return options[selectedIndex]
}