Closed
Description
Bug, feature request, or proposal:
Bug.
What is the expected behavior?
The string should be passed in its entirety.
What is the current behavior?
The last character of the string is removed.
What are the steps to reproduce?
Type some text in the textarea and click one of the buttons
Providing a Plunker (or similar) is the best way to get the team to see your issue.
Plunker template: https://plnkr.co/edit/Z19CCR6LgNmzKIQouQ3G?p=preview
What is the use-case or motivation for changing an existing behavior?
It should not 'lose' the last character of the string.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
I am using the dialog demo provided at: https://material.angular.io/components/dialog/examples
PS: I am not a native English speaker so feel free to edit any part of this post if you want to make it easier to understand