This repository has been archived by the owner on Aug 31, 2022. It is now read-only.
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.