Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Label parameter in the data overwrites the bindLabel property #614

Closed
ghtjiann4321 opened this issue Jun 13, 2018 · 2 comments · Fixed by #639
Closed

Label parameter in the data overwrites the bindLabel property #614

ghtjiann4321 opened this issue Jun 13, 2018 · 2 comments · Fixed by #639
Assignees
Labels

Comments

@ghtjiann4321
Copy link

ghtjiann4321 commented Jun 13, 2018

Please fill below information if issuing a bug report.

Expected behaviour

Describe how you think it should work

Actual behaviour

If the options contains a label parameter the bindLabel option is overwritten by the label parameter

options = [{
name: 'Test',
label: 'Label'
}]

It should show Test as the bind value but instead it shows the Label value even though the bindLabel is set

More Info

ng-select version: 6

browser: Chrome, Mozilla, Safari

reproducible in demo page: Yes

@varnastadeus
Copy link
Member

can you create reproducible example using stackblitz ?

@rdavono
Copy link

rdavono commented Jun 21, 2018

Why is this closed? This error is still present in the newest release 2.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants