react-native-form-generator
react-native-form-generator copied to clipboard
Generate forms with native look and feel in a breeze
The first change to the form values (using Picker) works; subsequent ones complain about values being frozen/immutable. This PR avoids mutating the form values on change.
I'm using code lifted straight from the example: ```javascript handleFormChange(formData) { const { onFormChange } = this.props; /* formData will contain all the values of the form, in this example....
I see this has already been PR'd but since I've done the work I might as well submit too. Seems this project is currently inactive :disappointed:
the setTime API in TimePicker does not work for ios as there is a missing ref in TimePickerField.ios.js. ``` setTime(date){ this.refs.datePickerComponent.setDate(date); } return( ref='datePickerComponent' labelStyle={[formStyles.fieldText, this.props.labelStyle]} valueStyle = {[formStyles.fieldValue,this.props.valueStyle]} valueContainerStyle...
#108 describes this issue; this is the simple 1-line fix :)
**Environment:** - React Native 0.36.0 - React Native Form Generator 0.9.9 - iOS **Steps to reproduce:** 1. Declare a simple form: ```js import { Form, InputField } from 'react-native-form-generator'; ```...
I am trying to get validation working, but self.refs is returning an empty object {}. Any idea why? ``` {return true;}} iconRight={ { console.log('refs:', self.refs) //i can change the style...
Hi, I love using the form but for some reason the labels in the picker & date picker field don't center. Any idea why? Thanks David
I'm using the example provided, and the import for `react-native-form-generator` produces the following error: ``` [ts] Could not find a declaration file for module 'react-native-form-generator'. 'c:/Users/David Elliott/Documents/Dynin/node_modules/react-native-form-generator/index.js' implicitly has an...