react-native-form-generator icon indicating copy to clipboard operation
react-native-form-generator copied to clipboard

Multiple Issues: InputFields not firing onFormChange, Pickers no longer work once Input has focus.

Open ghost opened this issue 7 years ago • 0 comments

At first, I though it was something I did wrong. However, I copied your example and encountered the same behavior. Note: I have updated to the latest XCode, so simulator is using iOS 11.

When I edit an InputField, the onFormChange is not being called. When toggling the SwitchField, the onFormChange is not being called. Upon initial display of the page, I can use the PickerField, DatePicker and TimePicker. However, once I set focus to an InputField, the PickerField, DatePicker and TimePicker no longer function. Also, according to the documentation, the formData passed to onFormChange should have the refs from all fields and it only contains the field that was edited (minus InputFields, whcih don't work at all).

I like the concept and the ease of putting this code together. However, I cannot use it, because it simply does not work as expected. I only wish I had the time to help you troubleshoot and correct these issues. Good Luck. I'll give this package another look in the future.

ghost avatar Sep 28 '17 16:09 ghost