Skip to content

Multiline text #9

@basdelfos

Description

@basdelfos

Using a multiline textinput generates an error message. The field is visible as a single line text input and is not editable.

Error shown in Xcode debug output:
[RCTLog][tid:0x7fe59435fbc0][RCTUIManager.m:710]>No manager class found for view with module name "RCTTextView"

Model:

var Visit = t.struct({
  date: t.Dat,
  name: t.Str,
  email: t.Str,
  company: t.maybe(t.Str),
  comment: t.maybe(t.Str),
});

Options:

var options = {
  auto: 'placeholders',
  fields: {
    date: {
      label: 'Datum van bezoek',
      mode: 'date'
    },
    name: {
      placeholder: 'Naam'
    },
    email: {
      keyboardType: 'default' //'email-address'
    },
    company: {
      placeholder: 'Bedrijfsnaam'
    },
    comment: {
      placeholder: 'Opmerking',
      multiline: true
    }
  }
};

I'm not sure if the form generator is causing this issue or that it is coming from React Native itself.
I created the project with the react-native-cli tool.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions