NgTagsInput: disable tag input on condition
I am using ngTagsInput to create some tags for my application.
My problem: the input tags of the tags are not matched disable
. Namely, I would like to disable the input field when the number of tags is one.
I checked the docs but nothing is there. Since it <tags-input>
is a custom directive, it ignores disabled="disabled"
.
A demo of ngTagsInput.
The problem seems to be similar to this . He has no answer yet.
Maybe the only way to solve this problem is to add an attribute disabled="disabled"
to the directive <input-tags>
in the source code?
source to share