Sohan Shirodkar
Sohan Shirodkar

Reputation: 520

Disable text input for md-chip

Is there any way by which I can disable the text-input feature for angular material chips?

The readonly attribute I found from the documentation seem to disable delete feature as well. I want to keep delete feature intact and disable only the input feature.

Is there any way to achieve it?

Upvotes: 1

Views: 1508

Answers (1)

ByTheWayer
ByTheWayer

Reputation: 139

I do not know how the actual response. Use attributes:

readonly="true" md-removable="true"

Upvotes: 2

Related Questions