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

View File

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