0.1.7 • Published 3 years ago

@7factor/react-native-form-builder v0.1.7

Weekly downloads
17
License
MIT
Repository
github
Last release
3 years ago

react-native-form-builder

Render your custom forms created at form-builder.io in your react-native application..

Installation

yarn add @7factor/react-native-form-builder react-native-webview

Usage

import Form from "react-native-form-builder";

return () => <Form 
        id="THE_ID_OF_YOUR_FORM"
        initialValues={{
            name: "value"
        }}
        disableFields={['id']}
        hideSubmit={false}
        onSubmit={ (values) => /* Do Something */ }
    />
PropertyDefault ValueRequired ?Function
idnoneyesThis is the id of the form to render, found in your form URL
initialValuesnonenoUse this to default any values in your form.
disableFieldsnonenoUse this array of strings, the name of each field, to prevent the user from editing them.
hideSubmitfalsenoOptionally hide the submit button for readonly viewing.
onSubmitnonenoUse this to prevent the submission on Form-Builder and instead handle it locally within your applicatoin

Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.

License

MIT

0.1.7

3 years ago

0.1.6

3 years ago

0.1.5

3 years ago

0.1.4

3 years ago

0.1.3

3 years ago

0.1.2

3 years ago

0.1.1

3 years ago

0.1.0

3 years ago