Releases: brophdawg11/remix-validity-state
Releases · brophdawg11/remix-validity-state
v0.4.0
What's Changed
- Leverage
React.useId
to ensure unique ids (PR #12, closes #1) - Pass
FormData
to custom validations (PR #12, closes #10) - Minor DX updates (PR #12):
<Field>
can now take all options accepted byuseValidatedInput
(includingformValidations
)- Therefore,
<Field>
doesn't need to be used inside aFormContext
<Field>
now proxies additional props onto the<input>
, so you can do:<Field name="thing" defaultValue="hey!" />
Full Changelog: v0.3.2...v0.4.0
v0.3.2
What's Changed
- Providing a
className
togetInputAttrs
will append instead of override the built-in class (#11) - Update
getFieldErrors
type to be an optional parameter (#11)
Full Changelog: v0.3.1...v0.3.2
v0.3.1
Full Changelog: v0.3.0...v0.3.1
v0.3.0
Full Changelog: v0.2.0...v0.3.0
0.2.0 - Initial Alpha Release
Initial Alpha Release