MichaelCereda/react-native-form-generator

TextInput disappear when prop label defined

gploteau opened this issue · 1 comments

On Android, label width is above TextInput and are same width

I have stumbled upon the same issue.

return (
       <ScrollView keyboardShouldPersistTaps="always" style={{paddingLeft:10,paddingRight:10, height:200}}>
        <Form
          ref='settingsForm'
          onFocus={this.handleFormFocus.bind(this)}
          onChange={this.handleFormChange.bind(this)}
          label="Faraday Motion Vehicle Settings"
        >
         <InputField ref='motorCount' placeholder='Last Name' label="Motor Count" value={this.state.settings.motorCount}/>
         <Separator />
        </Form>
      </ScrollView>
    );