This package has been deprecated

Author message:

this package has been deprecated. Use react-rails-simple-form instead

react-simple-form-helper

1.1.1 • Public • Published

rails-simple-form-helper

Form Helper, enclosing fields in hash. And using Reactstrap components.

Installation

npm install -g rails-simple-form-helper

Or add to your package.json file.

yarn add rails-simple-form-helper

Usage

import { Input, FormFor, FormTag, HashFields, ArrayFields } from 'rails-simple-form-helper';

Input: For input types. Text, radio, select.

FormFor: To enclose each input type into a hash, which is defined in FormFor attribute 'name'.

FormTag: In rails, three hidden input fields are added for security purpose. FormTag wraps original form and add these three hidden fields

HashFields: To enclose inputs into nested hash

ArrayFields: To enclose inputs into an array

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i react-simple-form-helper

    Weekly Downloads

    2

    Version

    1.1.1

    License

    ISC

    Unpacked Size

    13 kB

    Total Files

    6

    Last publish

    Collaborators

    • mukarram.ali