Skip to content

md-dialog-close removes last character from textarea binding on md-button #5491

Closed
@Narcwis

Description

@Narcwis

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3An issue that is relevant to core functions, but does not impede progress. Important, but not urgentarea: material/buttonarea: material/dialog

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions