html - How to add disabled attribute to input tag with ngTagsInput? -
i have custom directive use manage user access through website. use add 'disabled="disabled"' attribute html tags.
however, when try use tag-input, doesn't work. i'm guess down fact ngtagsinput uses it's own directive tags-input.
i have read documentation , cannot find solution looking for.
here code:
html:
<div access-level="admin"> <tags-input ng-model="tags" on-tag-added="addnewtag($tag)" on-tag-removed="removetag($tag)"> <auto-complete source="loadtags($query)" min-length="0"></auto-complete> </tags-input> </div>
is there work around this?
thanks.
it's unsupported, looks in next major version (2.3.0): https://github.com/mbenford/ngtagsinput/issues/102
edit: 2.3.0 out; see following link details https://github.com/mbenford/ngtagsinput/blob/master/changelog.md#features
Comments
Post a Comment