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

Customizing the select page

Open jwoertink opened this issue 8 years ago • 2 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.

jwoertink avatar Nov 05 '17 22:11 jwoertink

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.

bietkul avatar Nov 06 '17 05:11 bietkul

ah, ok. Awesome. Thanks for the help.

jwoertink avatar Nov 06 '17 16:11 jwoertink