Skip to content
This repository has been archived by the owner on Aug 31, 2022. It is now read-only.

Releases: filamentgroup/politespace

Politespace 1.0

06 Jun 01:22
Compare
Choose a tag to compare

Attribute Changes

All data attributes are now prefixed with data-politespace-. They will need to be updated to work correctly. Changes include:

  • data-politespace-grouplength
  • data-politespace-delimiter
  • data-politespace-reverse
  • data-politespace-decimal-mark

Auto-initialization

Auto-initialization code has been moved into a separate file, to make it optional. If you want the component to scan the DOM for politespace inputs and initialize them automatically, include the politespace-init.js file. Optionally, you can call $("[data-politespace]").politespace(); manually.

Milestone

Politespace v0.1.18

Politespace 0.1.4

05 Jun 21:40
Compare
Choose a tag to compare
  • Fixes issue with long values bleeding out of <input type="number"> fields.
  • Fixes maxlength inconsistencies with formatted values.

Politespace 0.1.3

04 Jun 21:13
Compare
Choose a tag to compare
  • Adds a data-reverse attribute to apply grouplengths from right to left (useful for money fields, where "$1234" shouldn’t transform to "$1,234".
  • Politespace can now be used for non-numeric input as well. For example, Canadian Postal Codes include alphabetic characters.

Politespace 0.1.2

05 Jun 21:39
Compare
Choose a tag to compare

Adds support for input type="number" and data-delimiter.

  • input type="number" is important to trigger numeric keyboards on Android and Mobile Firefox.
  • data-delimiter allows you to use a different character instead of a space.

Politespace 0.1.1

25 Apr 18:15
Compare
Choose a tag to compare

Fixes bug with removal of spaces on focus.

0.1.0

24 Apr 20:25
Compare
Choose a tag to compare

This is the initial release.