Releases: rzane/form
Releases · rzane/form
v0.2.0
Submission and validation now have their own dedicated hooks:
const form = useForm({ initialValue: "" });
const validate = useValidation(form, value => {
return value ? { valid: true, value } : { valid: false, error: "boom" };
});
const submit = useSubmit(validate, value => {
console.log(value);
});
v0.1.3
v0.1.2
v0.1.1
v0.1.0-alpha.4
Use better generic parameter names
v0.1.0-alpha.3
Force recursive types to always include their non-recursive counterparts
v0.1.0-alpha.2
Mark all erroneous fields as touched when submitting
v0.1.0
v0.1.0-alpha.1
Remove private denotation
v0.1.0-alpha.0
Update package name