material-components-web-react icon indicating copy to clipboard operation
material-components-web-react copied to clipboard

Outlined Text Field variation does not respect `noLabel` prop.

Open drewbolles opened this issue 5 years ago • 0 comments

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

drewbolles avatar Sep 17 '19 17:09 drewbolles