Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Values of Rows with XLFormRowDescriptorTypeSelectorPush are not showing up in form.formValues #1052

Open
kpavankotesh opened this issue Jul 19, 2019 · 1 comment

Comments

@kpavankotesh
Copy link

Hi,

I recently updated to 4.0.1 and the rows with XLFormRowDescriptorTypeSelectorPush, valueTransformers

row = XLFormRowDescriptor(tag: "tag", rowType: XLFormRowDescriptorTypeSelectorPush, title: "title")
row.valueTransformer = CustomValueTransformer.self

Values of such rows are not coming up in form.formValues on submit. When I revert back to 4.0.0 it works fine. Can you please check?

Note: I upgraded it as a part of Swift 5 migration. Please check if that could be the issue.

@chrisballinger
Copy link
Contributor

I am also seeing a similar, possibly related issue where form.formValues does not return custom objects unless they conform to XLFormOptionObject.

See the code here: https://github.com/xmartlabs/XLForm/blob/master/XLForm/XL/Helpers/NSObject+XLFormAdditions.m#L43

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants