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 acbb1d4 commit 177af3cCopy full SHA for 177af3c
src/lib/tooltip/tooltip.ts
@@ -150,7 +150,7 @@ export class MdTooltip implements OnDestroy {
150
this._ariaDescriber.removeDescription(this._elementRef.nativeElement, this._message);
151
152
// If the message is not a string (e.g. number), convert it to a string and trim it.
153
- this._message = value ? value.trim() : '';
+ this._message = value ? `${value}`.trim() : '';
154
this._updateTooltipMessage();
155
this._ariaDescriber.describe(this._elementRef.nativeElement, this.message);
156
}
0 commit comments