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

Icon inside a textfield #50

Closed
ataliadvanstep opened this issue Oct 12, 2017 · 3 comments
Closed

Icon inside a textfield #50

ataliadvanstep opened this issue Oct 12, 2017 · 3 comments

Comments

@ataliadvanstep
Copy link

Hello,

I try to set an icon inside a textfield

In the material-components-web com official documentation, it's supported but how to do it with react-mdc-web ?
https://github.com/material-components/material-components-web/blob/master/demos/textfield.html

The code below do the job
<div id="tf-box-leading-example" class="mdc-textfield mdc-textfield--box mdc-textfield--with-leading-icon" data-demo-no-auto-js> <i class="material-icons mdc-textfield__icon" tabindex="0">event</i> <input type="text" id="tf-box-leading" class="mdc-textfield__input custom-textfield-input"> <label for="tf-box-leading" class="mdc-textfield__label">Your name</label> <div class="mdc-textfield__bottom-line"></div> </div>

@kradio3
Copy link
Owner

kradio3 commented Dec 3, 2017

Hi @ataliadvanstep , sorry it wasn't implemented. Will be available in next release in few days

@ataliadvanstep
Copy link
Author

ataliadvanstep commented Dec 5, 2017 via email

@kradio3
Copy link
Owner

kradio3 commented Dec 6, 2017

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

No branches or pull requests

2 participants