bietkul / react-native-form-builder

Handle your forms in a smart way

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Customizing the select page

jwoertink opened this issue · comments

When you use select as a type, it takes you to a new page with those options you can select from. Is it possible to customize this page? In your example gif, I see blue icons next to your words, but in my app I don't see any icons. Your example code also doesn't mention any icons.

Along with being able to display icons next to each selection, I would like to add a text field at the bottom of the select options to allow a user to type in and use a new option that doesn't exist in the current list.

As mentioned, form-builder uses the NativeBase Components, so the icon you see next to the options is the Checkbox component of NativeBase.
By Default NativeBase uses the react-native-vector-icons.

For better customization of form-builder you can wrap the form-builder component in the StyleProvider of Nativebase.
I hope that it'll help you.
https://docs.nativebase.io/Customize.html#Customize

For the second thing it's an extra feature.I'll look on to it.

ah, ok. Awesome. Thanks for the help.