@obosbbl/grunnmuren-react@2.0.4
·
29 commits
to main
since this release
Patch Changes
- d197fa4: Fixes the logic behind validation states for inputs, where passing
errorMessage=""
would set the field in an invalid state. This doesn't really make sense, and can cause strange validation behaviour when using libraries like Zod. With this change settingerrorMessage
to"" | null | undefined
is now equivalent: the field is valid, unless combined with theisInvalid
prop set totrue
. - Updated dependencies [62fd91f]
- @obosbbl/grunnmuren-icons-react@2.1.0