GithubHelp home page GithubHelp logo

ng2-tagsinput's People

Contributors

dinusuresh avatar stk913 avatar xmaestro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ng2-tagsinput's Issues

When multiple items and delete key is pressed, the first is is deleted

Hi.
With angular 2.0.0-rc.5, we found an issue
Step to reproduce :

  • type "aaa"', then "bbb", then "ccc" -> you got "aaa" "bbb" "ccc"
  • press the DEL key -> you got "bbb" "ccc" : the first one is deleted. Shouldn't it be the last ?

We corrected this issue by changing the lines 146 to 150 in the file ng2-tagsinput.ts, replacing them with

if (!this.selectedTag) {
    this.selectedTag = this.tagsList.length - 1;
} 
this._removeTag(this.selectedTag);
`

Supplied parameters do not match any signature of call target.

ERROR in /Users/cpu/Sites/hello/src/$$_gendir/node_modules/ng2-tagsinput/lib/ng2-tagsinput.ngfactory.ts (327,35): Supplied parameters do not match any signature of call target.

{
  "name": "Hello",
  "version": "1.0.0",
  "angular-cli": {},
  "scripts": {
    "start": "ng serve",
    "lint": "tslint \"src/**/*.ts\"",
    "test": "ng test",
    "pree2e": "webdriver-manager update",
    "e2e": "protractor"
  },
  "private": true,
  "dependencies": {
    "@angular/common": "^2.4.10",
    "@angular/compiler": "^2.4.10",
    "@angular/compiler-cli": "^2.4.10",
    "@angular/core": "^2.4.10",
    "@angular/forms": "~2.4.10",
    "@angular/http": "~2.4.10",
    "@angular/platform-browser": "^2.4.10",
    "@angular/platform-browser-dynamic": "^2.4.10",
    "@angular/router": "~3.4.9",
    "core-js": "^2.4.1",
    "ng2-tagsinput": "^0.1.2",
    "rxjs": "^5.0.3",
    "ts-helpers": "^1.1.1",
    "zone.js": "^0.7.8"
  },
  "devDependencies": {
    "@angular/cli": "^1.0.0",
    "@types/jasmine": "^2.2.30",
    "@types/node": "^7.0.8",
    "codelyzer": "2.0.1",
    "jasmine-core": "2.5.2",
    "jasmine-spec-reporter": "3.2.0",
    "karma": "1.5.0",
    "karma-chrome-launcher": "^2.0.0",
    "karma-cli": "^1.0.1",
    "karma-jasmine": "^1.0.2",
    "karma-remap-istanbul": "^0.6.0",
    "protractor": "5.1.1",
    "ts-node": "2.1.0",
    "tslint": "4.5.1",
    "typescript": "~2.2.1",
    "webdriver-manager": "12.0.3"
  }
}

Could you please help me to fix it ?
It appears While "ng build --prod" in versions 0.1.4, 0.1.3, 0.1.2, 0.1.1, 0.1.0.
It is easy err I think but as owner you know more so would be simpler.
Error is about inconsistency in some function parameters.

Thank you!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.