FXForms icon indicating copy to clipboard operation
FXForms copied to clipboard

Exit Options controller on selection

Open WenchaoD opened this issue 9 years ago • 6 comments

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 2015-01-26 17_27_24

WenchaoD avatar Jan 26 '15 09:01 WenchaoD

+1, would love this. Do you have a fork with such a feature ?

wrousseau avatar Jan 31 '15 19:01 wrousseau

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.

nicklockwood avatar Jan 31 '15 20:01 nicklockwood

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 : image

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

WenchaoD avatar Feb 01 '15 06:02 WenchaoD

Seems to work well, thanks ! This should be the default behavior I believe

wrousseau avatar Feb 11 '15 08:02 wrousseau

+1 Works well.

Would be nice to have an updated version of the lib :)

gilthonweapps avatar Feb 11 '15 16:02 gilthonweapps

+1

TheLittleBoy avatar May 09 '16 02:05 TheLittleBoy