Socket
Socket
Sign inDemoInstall

bootstrap-validator

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bootstrap-validator - npm Package Versions

2

0.11.9

Diff

Changelog

Source

0.11.9

  • Fixing another issue with <select multiple/> elements. (#463)
  • No longer skipping a custom validator if its attribute has a falsy value. (#475)
  • Fixing stale values being read for data-attributes.
1000hz
published 0.11.8 •

Changelog

Source

0.11.8

  • Properly updating the submit button state when you run .validator(‘update’). (#461)
  • Clearing errors on fields with data-validate="false" upon calling .validator('update'). (#387)
1000hz
published 0.11.7 •

Changelog

Source

0.11.7

  • Skip auto-validation of fields with errors that were set before plugin init. (#401)
  • Fixing non-multiple select validation, which accidentally broke in the last release. (#453)
1000hz
published 0.11.5 •

Changelog

Source

0.11.5

  • Fixed an event binding order issue when the form is reset. (#375)
1000hz
published 0.11.4 •

1000hz
published 0.11.3 •

Changelog

Source

0.11.3

  • Fixed .has-success not being cleared if a field .has-feedback and has it's value cleared. Shoutout to @net for bringing the bugs fixed in 0.11.1 - 0.11.3 to my attention.
1000hz
published 0.11.2 •

Changelog

Source

0.11.2

  • Added input[type="reset"] to the ignored input filter
1000hz
published 0.11.1 •

Changelog

Source

0.11.1

  • Added a reset event listener on the form to reinitialize the plugin
  • Fixed a missed bit of cleanup in .validator('destroy') where it wasn't removing the .has-success class
1000hz
published 0.11.0 •

Changelog

Source

0.11.0

BREAKING CHANGES:
  • Custom validators are now expected to return an error string if the field is invalid.
  • The errors option has been removed. Override $.fn.validator.Constructor.DEFAULTS.errors if you want to change the default match and minlength errors.
  • The validator no longer skips disabled/invisible fields. If you want this behavior back, add $.fn.validator.Constructor.INPUT_SELECTOR += ':enabled:visible' to your code. (#115) (#134) (#317)
Enhancements:
  • Added support for distinct custom errors for the standard HTML5 attribute validators. No more being stuck with data-native-error="" for all of them. (#222) (#241) (#285)
  • Added a .validator('update') method to refresh the set of fields that will be validated (#306)
  • Added support of data-validate="true|false" on inputs to force validation of that field
  • Immediately validating fields that already have a value upon validator initialization (#350)
Bugfixes:
  • Fixed a bug in Safari where element.checkValidity() was returning stale values (#293)
  • Fixed a bug where spaces at the end of inputs were being trimmed off before being run through validators (#338)
  • Custom validators no longer leak to other instances of Validator. (#176)
  • Scrolling with focus: true option is now triggered on $('html, body') instead of $(document.body) for better cross-browser support (#282)
  • Removed (value == previousValue => skip) optimization. It was breaking the match validator and wasn't improving perf that much. (#316) (#340)
  • Added $.fn.validator.Constructor.VERSION property for parity with core Bootstrap plugins
Docs Changes:
  • Docs: Added an Overview section which calls out that whatever conventions apply to Bootstrap's core plugins also apply here
  • Docs: Added a callout blurb about the standard attribute validators
  • Docs: Added a "Validated fields" section to document the Validator.INPUT_SELECTOR field
  • Docs: Removed $() from method headers, which was confusing some people (#202)
1000hz
published 0.10.2 •

Changelog

Source

0.10.2

  • Fixed a bug with the form still submitting even with errors when using the disable: false option. (#310)
  • Fixed a bug with the error field not being focused when using the disable: false option. (#310)
2
SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc