MichaelCereda/react-native-form-generator

Form label does not show up

sshymko opened this issue · 5 comments

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 } from 'react-native-form-generator';
<Form
  ref="form"
  label="Information"
>
  <InputField
    ref="num"
    label="Number"
    keyboardType="number-pad"
  />
</Form>

Expected result:

  • Form label "Information" is rendered
  • Input field is rendered
  • Input field's label "Number" is rendered

Actual result:

  • Form label does not show up

having same issue

Bug report is for iOS. Haven't tested on Android. Don't know if the issue is platform-specific.

There is not label in Android either