Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

jquery.addressfield - v1.0.1

Compare
Choose a tag to compare
@iamEAP iamEAP released this 02 Dec 02:45
· 55 commits to master since this release

This is a major version release of jquery.addressfield, which introduces several backwards incompatible improvements over prior versions.

Highlights

  • License: to encourage contributions and community participation, this plugin is now MIT licensed [#29]
  • Field element order: is now explicitly supported via JSON ordered lists (matching addressfield.json v1.x) [#16]
  • Plugin instantiation and usage has been vastly simplified [#28]:
    • Plugin instantiation now takes a single configuration object
    • Field elements can be specified via specific jQuery selectors, rather than assuming all fields include a class with the same xNAL name
    • You no longer need to manually bind a change handler to the country field; this is now done for you.
    • For full details, see the docs.
  • Placeholder text: support added [#18]
  • Optional field validation: Added optional integration with jquery.validate [#17]
  • New and improved documentation [#32]

Changes since v1.0.0

  • Automatically trigger a change event upon initial plugin instantiation [#35]
  • Improved documentation when integrating with jquery.validate [#34]