bietkul / react-native-form-builder

Handle your forms in a smart way
MIT License
121 stars 68 forks source link

Custom components are not getting rendered in the form - Phone Input #26

Closed ami0011 closed 5 years ago

ami0011 commented 5 years ago

I am trying to integrate phone input via customComponents prop. Here is the code. Any help would be appreciated. { type: "custom", name: 'phone', required: true, label: 'Phone', editable: true, props: {}, customComponents : { custom: {component:PhoneInputComponent}} }

version ---> react-native-form-builder : 1.0.15

anyone have any idea about this, please help.

luissmg commented 5 years ago

Did you read the docs properly? I think you are setting this wrong. Can you share a bit more of code?