-
Notifications
You must be signed in to change notification settings - Fork 87
outlined text field broken #2075
Comments
Hi @mptyspace Can you provide reproducible source? The text field |
I am also getting a similar error with an outlined attribute on the mdc-text-field: Example:
Error:
Removing the outlined attribute resolved the error, but then the text field is no longer an outlined text field |
Update: It seems to be an issue with boolean attribute coercion. In past versions, putting just
|
Hmm, that would make sense. Must be some package is causing issues, I'll see if I can fix it locally tomorrow by equalizing the my app with the demo. |
@mrp67 Thank you for investigating this! Could you also verify the |
@trimox just checked it matches 9.0.0 for @angular/cdk |
@mrp67 Great thanks for confirming. Investigating as potential race condition scenario in |
Duplicated. |
Got it. PR incoming |
Fix race condition causing outlined text-field to error. This is temporary workaround, should go async/await. Thanks to @mptyspace for reporting it, and @mrp67 for the investigative work! closes #2075
@mptyspace @mrp67 Grab v5.0.2 which contains fix. Thanks again! |
<mdc-text-field label="help" outlined></mdc-text-field>
This simple line spits out the following:
Angular MDC Version used: 5.0.0
The text was updated successfully, but these errors were encountered: