Releases: NYPD/ritsu.js
Releases · NYPD/ritsu.js
v1.5.0
Highlights
- Added support for Bootstrap 4 forms, use
useBootstrap4Stlying: true
option - Marked all required inputs as invalid if they do not contain a rule class
See Milestone v1.5.0 for issues closed and the v1.5.0 changelog.
v1.4.0
Highlights
- Added new getErrorMessagesAsObjects method
- Deprecated getErrorMessagesAsMap. Use getErrorMessagesAsObjects instead
See Milestone v1.4.0 for issues closed and the v1.4.0 changelog.
v1.3.5
Highlights
- Fixed incorrectly generated dist files. No program changes have been made.
See Milestone v1.3.5 for issues closed and the v1.3.5 changelog.
v1.3.4
Highlights
- Add source mappings to both js and css minified files
See Milestone v1.3.4 for issues closed and the v1.3.4 changelog.
v1.3.3
v1.3.2
Highlights
- Fixed exception being thrown in certain cases when showing error messages in bootstrap 3
See Milestone v1.3.2 for issues closed.
v1.3.1
Highlights
- Fixed issue where ritsu.js was incorrectly adding the error label for a
form-group
belonging to aform-horizontal
See Milestone v1.3.1 for issues closed.
v1.3.0
Highlights
- ritsu.js can now take in a NodeList or an HTMLCollection object when calling various methods
- Fixed passing in multiple container objects/selectors not finding all form elements
- deprecated
numeric-full-year
rule.Use numeric-whole
instead
See Milestone v1.3.0 for issues closed.
v1.2.3
Highlights
- Fixed incorrect spelling for the
resetInitialFormValues
method. (Used to be calledresetIntialFormValues
)
See Milestone v1.2.3 for issues.
v1.2.2
Highlights
- The browser now falls back to basic RegExp() functionality if it does not support the /u flag parameter
See Milestone v1.2.2 for issues.
Highlights For missing v1.2.1 tag
- Rule types are no longer required when specifying a custom validation pattern
See Milestone v1.2.1 for issues.