Skip to content
This repository has been archived by the owner on Apr 19, 2021. It is now read-only.

MultilineText getting null #16

Closed
aldolinares opened this issue Dec 29, 2014 · 3 comments
Closed

MultilineText getting null #16

aldolinares opened this issue Dec 29, 2014 · 3 comments

Comments

@aldolinares
Copy link

Hi I have a form with 3 objects, .Email .MultipleSelector .MultilineText and a .Button.

If I only fill the MultiLineText I get Null on it, but If I fill any other I get the value from the MultiLineText

@tosbaha
Copy link

tosbaha commented Jan 6, 2015

Multiline text also giving me a null. Funny thing is if I write something to any field below the Multiline field. It suddenly works as you said.

I found the reason and possible fix. The reason is if user clicks submit button before ending editing, value of Multilinetext doesn't get updated. So I changed FormTextViewCell.swift like below

    func textViewDidChange(textView: UITextView) {
            rowDescriptor.value = textView.text
    }

and it worked.

@spritesun
Copy link

@tosbaha Thanks.
This should be merge into the master.

@ortuman
Copy link
Owner

ortuman commented Jan 19, 2015

Fixed in the last commit. Thanks for reporting this issue guys. ;)

@ortuman ortuman closed this as completed Jan 19, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants