Closed tinybigideas closed 4 years ago
Closing, looks like to an MDC issue, will defer to: https://github.com/material-components/material-components-web/issues/1363
Reopening. @tinybigideas Thanks for reporting on this. There was a time I had this working, will review..
Describe the bug If required is set for the component it adds an asterisk (*) to the label even if there is no label. If you are using an external label, this looks very odd.
To Reproduce Steps to reproduce the behavior:
<mdc-text-field outlined required></mdc-text-field>
Expected behavior I would expect it to check if there is a label. If so, append asterisk (*) as per spec. If there is no label, don't append.
Screenshots
(Looks bad when an external label is used without a floating label)
What Angular MDC version are you using? 5.1.1