Hi guys,
I'm trying to use tagify in my angular project but I'm not able to.
This is what I'm doing,
By reading the doc and also checking the code, apparently the CSS is already included in the project, so I'm not including anything in the angular.json
So I npm install tagify
In my angular component I have
@ViewChild("tagInput") tagInput: ElementRef;
private tagifyInput: Tagify;
ngAfterViewInit() {
// Access the native input element
const inputElement: HTMLInputElement = this.tagInput.nativeElement;
// Initialize Tagify
this.tagifyInput = new Tagify(inputElement, {
// Tagify options go here
});
}
<input #tagInput placeholder="Type and press Enter" value="tag1, tag2 autofocus">
[{"value":"tag1"},{"value":"tag2 autofocus"}]
Hola Felipe! estoy teniendo el mismo problema, serías tan amable de compartir con la comunidad la forma en la que lo resolviste?
Great to hear that you managed to get it working! If you have any more questions or need further assistance in the future, feel free to reach out.
Never mind I manage to get it working
Yes, spill the beans how did you get it working ?
How you can manage to get it working?