neoneye/SwiftyFORM

How to you get the value for a OptionPickerFormItem?

justdan0227 opened this issue · 1 comments

I can use the .value on all my lazy var's for entryfields. How do I get the selected item from an OptionPickerFormItem ?

Ok figured that one out as well

let selectedOptionStringValue  = optionItem.selected!.identifier
 flag  = (selectedOptionStringValue == "1") ? true : false