Skip to content

KeyboardAwareScrollView crashes #83

@sshymko

Description

@sshymko

Environment:

  • React Native 0.36.0
  • React Native Form Generator 0.9.9
  • iOS

Steps to reproduce:

  1. Declare a simple form:
import { Form, InputField, KeyboardAwareScrollView } from 'react-native-form-generator';
<KeyboardAwareScrollView>
  <Form
    ref="form"
    label="Information"
  >
    <InputField
      ref="num"
      label="Number"
      keyboardType="number-pad"
    />
  </Form>
</KeyboardAwareScrollView>

Expected result:

  • Form and the underlying fields are rendered
  • Form is scrollable

Actual result:

  • The application crashes with the following error:
Element type is invalid: expected a string (for built-in components) but got: undefined.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions