Skip to content

@obosbbl/grunnmuren-react@2.0.4

Compare
Choose a tag to compare
@github-actions github-actions released this 14 May 09:52
· 29 commits to main since this release
4630125

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 setting errorMessage to "" | null | undefined is now equivalent: the field is valid, unless combined with the isInvalid prop set to true.
  • Updated dependencies [62fd91f]
    • @obosbbl/grunnmuren-icons-react@2.1.0