Skip to content

Add readOnly Input property to md-input #3156

Closed

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

Activity

  1. Angelmmiguel commented on Feb 17, 2017

    @Angelmmiguel
    Author

    Sorry for opening this issue. I found the same one, so I'm going to close this as duplicated by #343

  2. angular-automatic-lock-bot commented on Sep 5, 2019

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  3. locked and limited conversation to collaborators on Sep 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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