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

Stache removes attribute "id" from input elements if value should be interpolated #2110

Closed
rangermeier opened this Issue Dec 1, 2015 · 2 comments

Comments

Projects
None yet
3 participants
@rangermeier

rangermeier commented Dec 1, 2015

An template like <input id="{{ id }}" value="{{ value}}"> is rendered like <input value="abc">. Note how the id-attribute is omitted. This happens for all kinds of form elements: input, select, textarea,..

http://jsbin.com/zobamum/edit?html,css,js,output

@dylanrtt

This comment has been minimized.

Show comment
Hide comment
@dylanrtt

dylanrtt Dec 1, 2015

Contributor

Looks like a 2.3.3 regression. It works in 2.3.2:

http://jsbin.com/rilinopufi/edit?html,js,output

Contributor

dylanrtt commented Dec 1, 2015

Looks like a 2.3.3 regression. It works in 2.3.2:

http://jsbin.com/rilinopufi/edit?html,js,output

@justinbmeyer justinbmeyer added the bug label Dec 1, 2015

@justinbmeyer justinbmeyer self-assigned this Dec 1, 2015

@justinbmeyer justinbmeyer added this to the 2.3.4 milestone Dec 1, 2015

@justinbmeyer

This comment has been minimized.

Show comment
Hide comment
@justinbmeyer

justinbmeyer Dec 2, 2015

Contributor

#2108 solves this. Closing as duplicate.

Contributor

justinbmeyer commented Dec 2, 2015

#2108 solves this. Closing as duplicate.

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