@doodl/react-forms v1.3.1
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
23 days ago
2 months ago
2 months ago
3 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
10 months ago
7 months ago
7 months ago
7 months ago
9 months ago
9 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
6 months ago
11 months ago
11 months ago
11 months ago
12 months ago
12 months ago
12 months ago
1 year ago