FXForms
FXForms copied to clipboard
Exit Options controller on selection
Hey, @nicklockwood
I'm thinking about whether to add this functionality: when a formfield is an option type and not a collection type, pop the view controller immediately when the option cell is selected, like this:
and sure we can add a bool value to enable this fuctionality
+1, would love this. Do you have a fork with such a feature ?
It's fairly easy to add this with a custom action on the field, but yeah, it's a commonly requested feature - I'll think about adding it.
Hi @wrousseau I made a fork for this as a temporary solution: https://github.com/f33chobits/FXForms/tree/exit-on-single-selection-branch
The detail is :
It's been tested in the sample project. But I don't know if it is strict enough to submit a PR, what do you think? @nicklockwood
Seems to work well, thanks ! This should be the default behavior I believe
+1 Works well.
Would be nice to have an updated version of the lib :)
+1