Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 22 20:55
    dependabot[bot] synchronize #417
  • Nov 22 20:55

    dependabot[bot] on npm_and_yarn

    Bump ini and @angular/cli Bump… (compare)

  • Nov 22 20:55
    dependabot[bot] edited #417
  • Nov 22 20:51
    dependabot[bot] synchronize #417
  • Nov 22 20:51
    dependabot[bot] edited #417
  • Nov 22 20:51

    dependabot[bot] on npm_and_yarn

    Bump ini and @angular/cli Bump… (compare)

  • Nov 22 20:51
    dependabot[bot] edited #417
  • Nov 22 20:50
    dependabot[bot] labeled #420
  • Nov 22 20:50
    dependabot[bot] opened #420
  • Nov 22 20:50

    dependabot[bot] on npm_and_yarn

    Bump dot-prop from 4.2.0 to 4.2… (compare)

  • Nov 22 20:50
    dependabot[bot] edited #417
  • Nov 22 20:50

    almothafar on npm_and_yarn

    (compare)

  • Nov 22 20:50

    almothafar on master

    Bump y18n from 4.0.0 to 4.0.3 … Merge pull request #415 from ng… (compare)

  • Nov 22 20:50
    almothafar closed #415
  • Nov 22 20:49

    almothafar on npm_and_yarn

    (compare)

  • Nov 22 20:49

    almothafar on master

    Bump yargs-parser from 13.1.1 t… Merge pull request #416 from ng… (compare)

  • Nov 22 20:49
    almothafar closed #416
  • Nov 22 03:55
    dependabot[bot] labeled #419
  • Nov 22 03:55
    dependabot[bot] opened #419
  • Nov 22 03:55

    dependabot[bot] on npm_and_yarn

    Bump engine.io and socket.io B… (compare)

Allen Kim
@allenhwkim
@ZachRoberts25 interesting, can you reproduce issue with a plunker?
it might have related to (ngModelChange). I will do my best if you can reproduce issue to fix it.
Zach Roberts
@ZachRoberts25
I can give it a shot
Allen Kim
@allenhwkim
thanks @ZachRoberts25
Allen Kim
@allenhwkim
hi Nico
Nicholas Cunningham
@ndcunningham
hello
Chris House
@crh225
I didnt realize you had gitter set up
Ill start asking my questions in here
Chris House
@crh225
@allenhwkim I think there should be an option to limit the list to the key/value list since the user has to define the value-property-name and display property name.
Allen Kim
@allenhwkim
@CH, I don’t think it’s necessary, but if you want, please make a PR\
Chris House
@crh225
I think it is necessary when you have 100 autocomplete/dropdowns on a page
Allen Kim
@allenhwkim
For that, case, you can build an Observer for all
Chris House
@crh225
or, the library could. :smile:
nice work on the autocomplete! best one we have tested
Allen Kim
@allenhwkim
I think your case is exceptional. Thus, I treat it as exceptional
thanks @crh225
I do not want to taint the module with all exceptional cases. I only handle general cases. For exceptional case, I made several user-definable function. Observer and listFormatter are one of them.
If you want it to be built into the module, you can tell me they are general use cases with an example :)
Chris House
@crh225

my thought process is, a dropdown list is a key/value pair of objects. let say your object looks like:

ddlist: DropDownList{
key: string; // these are unique, but not a guid
value: string;
id: string; //the id will be a guid
visible: boolean; // this could be a different property, as long as it is boolean
}

Im binding to the object ddlist and set the key-property-name=key and value-property-name=value
If I search the autocomplete for the string true then all results show up. if I search for any number, random ones show up because of the guids
another sceanrio. say your keys are number ids...1,2,3 and they are not shown to the user in the list, only the values show up. If the user searches for '1' they get the first item in the list even though the text is not what they wanted. I can make a plunkr if it helps

visible could be a property called enabled. let say, the second autocomplete requires the first autocomplete to be filled out first before it can be enable=true, you search autocmoplete for true, all items show up
three different use cases
Allen Kim
@allenhwkim
@crh225 I assume you haven’t looked at the code yet. It can work as you described, but it does not work on this module.
Chris House
@crh225
I have not looked at the code
Allen Kim
@allenhwkim
@crh225 why don’t you take a look at the code and make some suggestoins with PR based on what you see unless you are a manager.
Chris House
@crh225
Far from a manager. haha.
ill look. I assume you mean a pull request and not a peer review?
Allen Kim
@allenhwkim
pull request, I meant
Chris House
@crh225
blob
Im learning everyday,but why instead of using the word function() you didnt use =>
        let t: string = 'test';
        t.toString = ()=> {
            return 'complete';
        }
in my experience you lose binding to the word this if you use it inside your function if you don't use =>
Chris House
@crh225
which function searches the object?
Allen Kim
@allenhwkim
@crh225 sorry, I can’t answer all your questions since I am currently on day-to-day bill-paying work
Chris House
@crh225
me too
Chris House
@crh225
Hopefully the let you use angular in your day job?
and not VB6 or something boring
Allen Kim
@allenhwkim
@crh225 angular1 actually.
@crh225 those two lines can build filteredList, which displays on dropdown.
@crh225 Keep posting questions here, I will answer when I get home :)
Chris House
@crh225
@allenhwkim do you want me to open a seperate ticket for this
image
the selected item does not highlight
if you look at bottom of #125, you can see more description
aish95
@aish95
Hi all, How to I override the CSS to add a scrollbar to the dropdown list?
Allen Kim
@allenhwkim
@aish95 it's hard to explain here, but it looks like like overflow: auto, and set height: xxxpx
SREEMAT
@sreemat1993
For IE change is not working for input using ng2-ui
Chris House
@crh225
plunkr?
raroras
@raroras
anyone available ??
alexandra1030
@alexandra1030
Hi, can I customize auto-complete popup position? currently it appears left corner. Can I change it?
@allenhwkim . Can you help me?