GithubHelp home page GithubHelp logo

eakoriakin / eqwad-combo-box Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 0.0 29 KB

Angular2 ComboBox

Home Page: https://eqwad-demo.herokuapp.com/

License: MIT License

TypeScript 71.16% CSS 15.73% JavaScript 13.12%

eqwad-combo-box's People

Contributors

eakoriakin avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

eqwad-combo-box's Issues

angular2/core has no exported member 'SimpleChanges'

I'm getting this TS error:

file: 'file:///c%3A/github/eqwad-combo-box/eqwad-combo-box.component.ts'
severity: 'Error'
message: 'Module '"c:/github/eqwad-combo-box/node_modules/angular2/core"' has no exported member 'SimpleChanges'.'
at: '1,93'
source: 'ts'

I can fix it locally (partially) by changing the angular dependencies from:

"angular2": "2.0.0-beta.17",

to:

"@angular/common": "~2.1.0",
"@angular/compiler": "~2.1.0",
"@angular/core": "~2.1.0",
"@angular/forms": "~2.1.0",
"@angular/http": "~2.1.0",
"@angular/platform-browser": "~2.1.0",
"@angular/platform-browser-dynamic": "~2.1.0",

However, there are other issues that arise with the new dependencies, probably with the new version of angular. Looks like it probably just needs to be updated to use NgModules.

Implement list filtering

  1. Add input box to search for items and update the list.
  2. Do not filter items when an existing item is selected or typed in.
  3. Open the list when user starts typing.
  4. Add keyboard support.
  5. Remove highlighting index when user types.

Update value

When a user selects an item assign the item to value field.
If the user types in text and there is no such an item in the list then assign the following to value:

this.value = {
    [itemTextField]: this._text
};

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.