Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show how to generate a unique ID to use with input labels #1382

Open
jenweber opened this issue Apr 8, 2020 · 3 comments
Open

Show how to generate a unique ID to use with input labels #1382

jenweber opened this issue Apr 8, 2020 · 3 comments

Comments

@jenweber
Copy link
Contributor

jenweber commented Apr 8, 2020

After #1365 is merged, I think we should show how to use guidFor to generate the ID. There is a good example in the Ember Octane Cheatsheet https://ember-learn.github.io/ember-octane-vs-classic-cheat-sheet/

Copy link
Contributor

rwjblue commented Apr 8, 2020

emberjs/rfcs#612 is related (and spit-balling solving this in a nice way).

@ijlee2
Copy link
Member

ijlee2 commented Jul 8, 2020

As an update, #1365 has been merged.

@bertdeblock
Copy link
Contributor

We can now use the built-in unique-id helper for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants