We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c57f82 commit 848efe1Copy full SHA for 848efe1
src/material/select/select.ts
@@ -1390,8 +1390,7 @@ export class MatSelect
1390
return null;
1391
}
1392
1393
- const labelId = this._parentFormField?.getLabelId();
1394
- let value = (labelId ? labelId + ' ' : '') + this._valueId;
+ let value = this._parentFormField?.getLabelId() || '';
1395
1396
if (this.ariaLabelledby) {
1397
value += ' ' + this.ariaLabelledby;
0 commit comments