components icon indicating copy to clipboard operation
components copied to clipboard

[Feature Request] mdInput place holder as innerHTML

Open CharlieMisner opened this issue 9 years ago • 2 comments

Bug, feature request, or proposal:

Feature request.

What is the current behavior?

Input place holder is bound to DOM and renders as a string.

What is the expected behavior?

It would be nice if the input place holder was added to DOM as innerHTML instead of binding to a string.

Tags such as <sup></sup> and entities like &copy will render correctly when included in an input placeholder.

What is the use-case or motivation for changing an existing behavior?

My use case is that I would like to use the <sub></sub> tags inside the input place holder.

CharlieMisner avatar Aug 05 '17 21:08 CharlieMisner

I just realized that's what the <md-placeholder> tag is for. Closing this.

CharlieMisner avatar Aug 06 '17 07:08 CharlieMisner

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.