Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

ember-unique-id-helper-polyfill

ctjhoa6.4kMIT1.2.2

Polyfill for RFC 659.

ember-addon, polyfill, unique-id, helper

readme

ember-unique-id-helper-polyfill

This addon provides a polyfill for unique-id helper as described in RFC 659.

Compatibility

  • Ember.js v3.24 or above
  • Ember CLI v3.24 or above
  • Node.js v12 or above

Installation

ember install ember-unique-id-helper-polyfill

Usage

Example:

{{#let (unique-id) as |emailId|}}
  <label for={{emailId}}>Email address</label>
  <input id={{emailId}} type="email" />
{{/let}}

{{#let (unique-id) as |passwordId|}}
  <label for={{passwordId}}>password</label>
  <input id={{passwordId}} type="password" />
{{/let}}

Contributing

See the Contributing guide for details.

License

This project is licensed under the MIT License.

changelog

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Unreleased

1.2.2 - 2022-09-01

Fixed

  • Fix typo in warning #9
  • Display a normal warning instead of a deprecation warning #10

1.2.1 - 2022-07-05

Fixed

  • Make sure unique ids always start with a letter #8

1.2.0 - 2022-03-31

Added

  • Make ember-unique-id-helper-polyfill a true polyfill #6

Changed

  • Move to github actions instead of Travis
  • Add CHANGELOG

1.1.0 - 2019-03-02

Changed

  • Move ember-cli-htmlbars to devDependencies #4
  • Remove ember-auto-import from Compatibility section in docs #3
  • Update the implementation so that it matches the ember-source version #2

1.0.0 - 2022-02-08

Fixed

  • Remove non-existent export #1
  • linter errors

Changed

  • Upgrade deps

0.1.0 - 2021-01-24

Added

  • First implementation