You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, your example for a custom field is not working. I think there is also an error in the constructor markup ( one } too much).
Using this simple input cstom field produces follwing error for me:
Element type is invalid: exspected a string (for built-in components) or a class/function (for composite components) but got undefined. check the render method of 'Form'
The text was updated successfully, but these errors were encountered:
Okay, pinned down the issue… the Field Class is not exposed. IMO it should be as users likely will store their custom components not within your module, so basically you should be able to do
import { Field } from 'react-native-form-generator';
florianbepunkt
changed the title
custom field broken
custom field >> Field Class should be exposed
Nov 19, 2016
Hi, your example for a custom field is not working. I think there is also an error in the constructor markup ( one
}
too much).Using this simple input cstom field produces follwing error for me:
Element type is invalid: exspected a string (for built-in components) or a class/function (for composite components) but got undefined. check the render method of 'Form'
The text was updated successfully, but these errors were encountered: