nicklockwood / FXForms

[DEPRECATED]
Other
2.93k stars 339 forks source link

Longtext not working #312

Open chrise86 opened 9 years ago

chrise86 commented 9 years ago

I have created a very simple form (in RubyMotion), using the following:

class TemplateForm < NSObject
  def fields
    [
      {
        FXFormFieldKey => "title",
        FXFormFieldTitle => "Title"
      },
      {
        FXFormFieldKey => "content",
        FXFormFieldTitle => "Content",
        FXFormFieldType => "longtext",
        # This also has same result
        # FXFormFieldType => FXFormFieldTypeLongText,
        FXFormFieldPlaceholder => "Write your message..."
      }
    ]
  end
end

but the "content" field is not quite right:

ios simulator screen shot 14 feb 2015 15 43 52

All other types seem to work fine. Tried lowering to a couple different versions too, with same results...

In Reveal, the order of the fields also seem messed up:

screen shot 2015-02-14 at 16 16 24

olddeda commented 9 years ago

I have the same issue ios simulator screen shot 5 2015 14 53 03

AuronChoo commented 7 years ago

have to add @property (nonatomic, copy) NSString *about; in your .h file