1.3.1 • Published 23 days ago

@doodl/react-forms v1.3.1

Weekly downloads
-
License
ISC
Repository
bitbucket
Last release
23 days ago

Each client must be must have a fields array that has an object of { component: Component, props: { value: "foo", name: "bar"} }

props can have { required: true || false, callbacks: String }

callbacks should be passed in by the form loader. If you want something to be called on every instantiation of a certain field you can pass in a string key for that field and hook. If you want it on only certain instantiations the key will need to be sent via the backend, something like { uploadField: { callbacks: "afterprocess" => "doFooBar" } }

!Differences between implementations!

The graphql loader does not handle redirects - could create some default apollo middleware for this

1.3.1

23 days ago

1.3.0

2 months ago

1.2.16

2 months ago

1.2.15

3 months ago

1.2.14

4 months ago

1.2.12

4 months ago

1.2.13

4 months ago

1.2.11

4 months ago

1.2.10

4 months ago

1.2.0

10 months ago

1.2.8

7 months ago

1.2.7

7 months ago

1.2.6

7 months ago

1.2.5

9 months ago

1.2.4

9 months ago

1.2.3

10 months ago

1.2.2

10 months ago

1.1.3

10 months ago

1.2.1

10 months ago

1.1.2

10 months ago

1.2.9

6 months ago

1.1.1

11 months ago

1.1.0

11 months ago

1.0.4

11 months ago

1.0.3

12 months ago

1.0.2

12 months ago

1.0.1

12 months ago

1.0.0

1 year ago