FXForms icon indicating copy to clipboard operation
FXForms copied to clipboard

Longtext not working

Open chrise86 opened this issue 10 years ago • 2 comments

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

chrise86 avatar Feb 14 '15 15:02 chrise86

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

olddeda avatar Apr 05 '15 11:04 olddeda

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

AuronChoo avatar Apr 24 '17 09:04 AuronChoo