Skip to content

Add readOnly Input property to md-input #3156

Closed
@Angelmmiguel

Description

@Angelmmiguel

Bug, feature request, or proposal:

Feature request / Bug

What is the expected behavior?

Add readOnly or a similar property to md-input must add the readonly attribute to the rendered input tag.

What is the current behavior?

We can't set a md-input as read-only

What is the use-case or motivation for changing an existing behavior?

For example, I'm adding an input with a copy to clipboard functionality. You can see an example in
Rubygems. Also, this is a basic functionality of HTML input tags.

Rubygems

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions