sonaryr / ngx-tags-input Goto Github PK
View Code? Open in Web Editor NEWan angular 2 tags input element based on bootstrap 3
License: Other
an angular 2 tags input element based on bootstrap 3
License: Other
Could we have a build compatible with Angular 6 ?
Is it possible to provide an option to prevent the addition of duplicate tags?
Breaks the build on angular 6 and print a lot of warnings.
It would be nice to have the ability to have tags without spaces. Where if the user types a space, the addTag is called triggering the addition of the tag.
Uncaught (in promise): Error: Template parse errors:
'tags-input' is not a known element:
Hi,
I am facing a weird issue in ngx-tags-input plugin. After entering first tag and hitting enter button, cursor loses focus from input box. 2nd tag entry onwards it works just fine.
Please help.
when the attribute is added, entries are limited to options.. Can we get a property that allows us bypass this..?
Thanks
I'm making it tags an array and some is my ngModel assigned to it. But it stays, 'length' property undefined of null (which is this.tags is null).
Hello, it would be nice that when the control lost the focus, the current typed text will be added as tag.
I am getting an error in 'maximumOfTagsReached' method that 'can't find length property' as Tags values are null.
I have noticed that when we create component it executes writeValue method two times one with null values and the second time with actual data. I guess the first call of writeValue with null data is causing this issue.
We can quick fix as previously did for placeholder method. You can get the reference from here: - https://github.com/Sonaryr/ngx-tags-input/blob/master/src/tags-input.component.ts
Let me know if any query. In meantime, I'll create the pull request for same with the quick fix.
Hello,
I'm coming back to you again with a question/feature request. When you click on the component, without typing anything, is it possible to display all available options on the dropdown ? Because when a user doesn't know what are the available options to the field, he doesn't know what to look for, so it can feel not user-friendly.
I looked through the readme and didn't see a way to do this right now.
Many thanks !
ERROR in Error: Metadata version mismatch for module /home/emp309/work_space/fieldstar-web/node_modules/ngx-tags-input/dist/index.d.ts, found version 4, expected 3
Please suggest
Hello,
I was wondering if you could add an attribute where you could chose the number of options in the dropdown. It seems that for the moment, the value is the default one in the ngx-bootstrap typeahead directive, which is 20.
Thank you very much in advance.
Hello, my angular app using ng tas input crash at boot on this line:
here is the html:
Alerts :
<tags-input class="form-control"
[removeLastOnBackspace]="true"
[(ngModel)]="alertsSelectedNames"
placeholder="Select an alert"
(onTagsChanged)="onTagsChanged($event)"
[options]="alertsDisplayNames"></tags-input>
here is the stack trace:
TypeError: Cannot read property 'length' of null
at TagsInputComponent.webpackJsonp.../../../../ng2-tags-input/dist/src/tags-input.component.js.TagsInputComponent.getPlaceHolder
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.