Skip to content

Releases: Randagio13/rapid-form

v3.1.0

02 Aug 19:15
5e59d2d
Compare
Choose a tag to compare

What's Changed

🚀 Enhancement

Full Changelog: v3.0.8...v3.1.0

v3.0.8

01 Aug 09:52
2e40acf
Compare
Choose a tag to compare

What's Changed

🐛 Bug Fix

Full Changelog: v3.0.7...v3.0.8

v3.0.7

15 Jul 19:16
a4233d8
Compare
Choose a tag to compare

What's Changed

🐛 Bug Fix

  • Update values prop even if the element is not required by @Randagio13 in #46

Full Changelog: v3.0.6...v3.0.7

v3.0.6

02 Jul 07:51
79d8204
Compare
Choose a tag to compare

What's Changed

🐛 Bug Fix

Full Changelog: v3.0.5...v3.0.6

v3.0.5

09 Jun 17:26
3578256
Compare
Choose a tag to compare

What's Changed

🐛 Bug Fix

  • Fix remove fields value after resetting the form. by @Randagio13 in #42

Full Changelog: v3.0.4...v3.0.5

v3.0.4

04 Jun 21:02
2ac308f
Compare
Choose a tag to compare

What's Changed

🐛 Bug Fix

  • Fix performance degradation after resetting the form by @Randagio13 in #40

Full Changelog: v3.0.3...v3.0.4

v3.0.3

04 Jun 20:37
2b15515
Compare
Choose a tag to compare

What's Changed

🐛 Bug Fix

Full Changelog: v3.0.2...v3.0.3

v3.0.2

04 Jun 20:27
593ff72
Compare
Choose a tag to compare

What's Changed

🐛 Bug Fix

Full Changelog: v3.0.1...v3.0.2

v3.0.1

04 Jun 19:15
92b5a65
Compare
Choose a tag to compare

What's Changed

🐛 Bug Fix

Full Changelog: v3.0.0...v3.0.1

v3.0.0

02 Jun 16:35
d62b0cf
Compare
Choose a tag to compare

What's Changed

💥 Breaking Change

  • How to migrate from v2 to v3 by @Randagio13 in #26

    Import the useRapidForm hook from rapid-form package.

    -  import useRapidForm from 'rapid-form';
    
    +  import { useRapidForm } from 'rapid-form';

    Replace the handleSubmit, reset, and submitValidation functions with the refValidation function.

    -  const { validation, handleSubmit, reset, submitValidation } = useRapidForm();
    
    +  const { refValidation } = useRapidForm();

    Use the refValidation function to validate the form fields.

    -  <input name="username" ref={validation} required />
    
    + <form ref={(ref) => refValidation(ref)}>
    +   <input name="username" required />
    + </form>

🐛 Bug Fix

📝 Documentation

Full Changelog: v2.1.0...v3.0.0