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

Outlined Text Field variation does not respect noLabel prop. #1000

Open
drewbolles opened this issue Sep 17, 2019 · 0 comments
Open

Outlined Text Field variation does not respect noLabel prop. #1000

drewbolles opened this issue Sep 17, 2019 · 0 comments

Comments

@drewbolles
Copy link

Outlined text fields will show both the label, as well as a placeholder if the noLabel prop is used. It appears that the renderNotchedOutline method doesn't check for noLabel https://github.com/material-components/material-components-web-react/blob/master/packages/text-field/index.tsx#L412

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

1 participant