modular-forms

The modular and type-safe form library for SolidJS, Qwik and Preact

MIT License

Downloads
31.7K
Stars
1K
Committers
21

Bot releases are hidden (Show)

modular-forms - v0.1.1 (@modular-forms/qwik)

Published by fabian-hiller over 1 year ago

  • Fix Vite config and package.json
modular-forms - v0.1.0 (@modular-forms/qwik)

Published by fabian-hiller over 1 year ago

Many thanks to @mhevery and @manucorporat for your support.

  • Initial release
modular-forms - v0.11.0 (@modular-forms/solid)

Published by fabian-hiller over 1 year ago

Many thanks to @gabrielelpidio, @Corsal8 and @apollo79 for contributing to this release.

  • Rename Response type to FormResponse
  • Add SubmitHandler and FormValues type
  • Add export for FormProps, FieldProps and FieldArrayProps type (issue #23)

Note: I'm in the process of reworking the codebase. One of the next releases will bring breaking changes to the API.

modular-forms - v0.10.0 (@modular-forms/solid)

Published by fabian-hiller almost 2 years ago

I would like to thank @apollo79 whose feedback was instrumental in this release.

  • Improve type of submit event at Form and handleSubmit (issue #18)
  • Change build step from tsup to Rollup and update exports (issue #16)
  • Change validation strategy and add 'touched' and 'blur' mode (issue #14)
  • Rename parameter of getFieldArrayState util
modular-forms - v0.9.5 (@modular-forms/solid)

Published by fabian-hiller almost 2 years ago

  • Fix type at zodForm and zodField adapter (issue #17)
modular-forms - v0.9.4 (@modular-forms/solid)

Published by fabian-hiller almost 2 years ago

  • Fix initial validation when validateOn is set to 'input' (issue #15)
modular-forms - v0.9.3 (@modular-forms/solid)

Published by fabian-hiller almost 2 years ago

  • Reset file inputs at reset method manually (issue #11)
modular-forms - v0.9.2 (@modular-forms/solid)

Published by fabian-hiller almost 2 years ago

  • Fix initial value of radio inputs
modular-forms - v0.9.1 (@modular-forms/solid)

Published by fabian-hiller almost 2 years ago

  • Change Response type to be more flexible and easier to use (issue #6)
modular-forms - v0.9.0 (@modular-forms/solid)

Published by fabian-hiller almost 2 years ago

  • Add support for scheme validation with Zod
  • Add support for validation of optional fields (issue #5)
  • Change type of custom, required and value validation function
modular-forms - v0.8.4 (@modular-forms/solid)

Published by fabian-hiller almost 2 years ago

  • Fix circular reference type error of issue #4
modular-forms - v0.8.3 (@modular-forms/solid)

Published by fabian-hiller almost 2 years ago

  • Try to fix circular reference type error
modular-forms - v0.8.2 (@modular-forms/solid)

Published by fabian-hiller almost 2 years ago

  • Change type of field props event handlers
  • Improve compatibility with components libraries
modular-forms - v0.8.1 (@modular-forms/solid)

Published by fabian-hiller almost 2 years ago

  • Fix bug when form is reset
modular-forms - v0.8.0 (@modular-forms/solid)

Published by fabian-hiller almost 2 years ago

  • Add shouldFocus option to setValue method
modular-forms - v0.7.0 (@modular-forms/solid)

Published by fabian-hiller almost 2 years ago

  • Add validateIfNecessary util and refactor code
  • Fix missing validation at insert and remove method
  • Add support for field arrays to required validation
  • Add support for deeply nested field arrays
modular-forms - v0.6.0 (@modular-forms/solid)

Published by fabian-hiller almost 2 years ago

  • Rename TypeScript types and export more of them
  • Fix typo that causes bugs when using field arrays
modular-forms - v0.5.0 (@modular-forms/solid)

Published by fabian-hiller almost 2 years ago

  • Reset form response at handleSubmit and reset method
    • Add keepResponse property to Form component
    • Add keepResponse option to handleSubmit and reset method
    • Refactor reset method
  • Add keepItems and keepDirtyItems option to reset method
modular-forms - v0.4.0 (@modular-forms/solid)

Published by fabian-hiller almost 2 years ago

  • Add clearResponse, hasField and hasFieldArray method
  • Improve and refactor getValues, reset and validate method
  • Add missing export of setError and setValue method
  • Fix invalid state of form (field arrays were not considered before)
modular-forms - v0.3.0 (@modular-forms/solid)

Published by fabian-hiller almost 2 years ago

  • Change form response object
    • Rename key variant to status
    • Fix typo in success literal type
Package Rankings
Top 3.74% on Npmjs.org
Top 6.74% on Proxy.golang.org
Related Projects