Socket
Socket
Sign inDemoInstall

informed

Package Overview
Dependencies
6
Maintainers
1
Versions
397
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install
2345
40Next

4.60.1

Diff

Changelog

Source

4.60.1 ( May 28th, 2024)

Fixed

  • Issue with useField user props not omitting "'onChange' | 'onBlur' | 'onFocus' | 'value' | 'defaultValue' | 'required'"
joepuzzo
published 4.60.0 •

Changelog

Source

4.60.0 ( May 9th, 2024)

Fixed

  • A very complex issue that involved validation validating with icorrect form values in unique cases where a field "a" would depend on the value of field "b" and field "b" comes after field "a". This issue is so hard to simply describe here that instead I made two docs pages to talk about them with examples haha see here
joepuzzo
published 4.59.1 •

Changelog

Source

4.59.1 ( May 7th, 2024)

Added

  • Extra debug logging for reset
joepuzzo
published 4.59.0 •

Changelog

Source

4.59.0 ( May 7th, 2024)

Added

  • Ability to use name inside of validate function at field level

Example:

<Scope scope="hello">
  <Input
    name="world"
    label="World"
    validate={(value, values, { scope, name }) => {
      console.log(`${scope}.${name}`); // ==> hello.world
    }}
  />
</Scope>
joepuzzo
published 4.58.4 •

Changelog

Source

4.58.4 ( May 1st, 2024)

Fixed

  • Issue where if user typed . into a formatted number field it would result in a NAN
joepuzzo
published 4.58.3 •

Changelog

Source

4.58.3 ( April 29th, 2024)

Removed

  • react-dom from peer deps as native app will yell at you :)
joepuzzo
published 4.58.2 •

Changelog

Source

4.58.2 ( April 10th, 2024)

Added

  • Missing types for ArrayFieldState and useArrayField
joepuzzo
published 4.58.1 •

Changelog

Source

4.58.1 ( April 9th, 2024)

Added

  • Missing types for schema, FormState, useArrayFieldApi, and useArrayFieldItemApi.
joepuzzo
published 4.58.0 •

Changelog

Source

4.58.0 ( April 1st, 2024)

Added

  • Ability to pass debounceGather={1000} prop to form that will increase the debounce on the gatherData function
  • Ability to pass debounceError={1000} prop to form that will increase the debounce on the asyncValidate function
  • Note these ^^^ are at form level not field level ( will look into this at a later date )
joepuzzo
published 4.57.0 •

Changelog

Source

4.57.0 ( March 26th, 2024)

Added

  • ability to pass noFalsy to enable required validation even when value is a falsy value ( by default it only works for null/undefined/zero/or empty array ) the value false is considered to be a value
  • ability to pass gatherOnBlur to only gather data on blur
2345
40Next
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc