Skip to content

Releases: kloverde/jquery-RestrictedTextField

RestrictedTextField v1.4

10 Feb 06:13
Compare
Choose a tag to compare
  • Added support for the HTML5 pattern attribute. Check caniuse.com for browser support.
  • Added the ability to save the QUnit test report to a file

RestrictedTextField v1.3

04 Jan 04:46
Compare
Choose a tag to compare
  • Added zip code types

RestrictedTextField v1.2

29 Dec 01:17
Compare
Choose a tag to compare
  • Now confirmed to work on mobile! See README.md for a list of tested browsers.
  • Change to event firing: validation success & validation failure events were firing pre-blur with preventInvalidInput enabled. This is contrary to the documentation, which states that these events do not fire in that scenario. The documentation reflected the intended behavior; the events no longer fire in this scenario.
  • Added credit cards types (AMEX, VISA, MasterCard, Discover), plus a credit card type encompassing each of these types
  • Added a Luhn type
  • Updated and redesigned the demo page
  • The unit tests are no longer implemented with Java/Selenium/JUnit; they've been re-implemented in JavaScript/QUnit. This dramatically improves test performance and greatly simplifies running tests (just open the HTML file).

RestrictedTextField v1.1.1

29 Nov 01:51
Compare
Choose a tag to compare
  • The demo page wasn't working due to an incorrect path to jquery.js. This has been fixed. Although the source code, including the JavaScript files themselves, have been updated to say 1.1.1 in their internal code comments, there is no difference in these files from release 1.1. Only demo.html has been changed.

RestrictedTextField v1.1

16 Nov 04:08
Compare
Choose a tag to compare
  • Fixes for money types
  • All money types automatically format on blur: values will be updated, if necessary, to always end in a period followed by two digits
  • Fixed issue with the int types which considered a negative sign by itself to be a valid value
  • Relaxed the int and float types/subtypes, and added strict versions of each. The relaxed versions accept leading/trailing zeros and negative zero; the strict versions do not.
  • Added a logging callback function as a configurable option
  • Throws an exception if invoked on something other than an input element
  • Added Selenium unit tests

RestrictedTextField v1.0.1

03 Apr 02:00
Compare
Choose a tag to compare
  • Minor under-the-hood improvement. No change to functionality.

RestrictedTextField v1.0

02 Apr 20:55
Compare
Choose a tag to compare
  • First release