question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Array of numbers as value

See original GitHub issue
[x] bug report => search github for a similar issue or PR before submitting
[ ] support request/question

Notice: feature requests will be ignored, submit a PR if you'd like

Current behavior I am using an array of numbers as the value for the component and the array is not displayed correctly. The span/svg does not display the number, just the remove button.

Expected behavior Display numbers correctly.

Minimal reproduction of the problem with instructions (if applicable) Just pass a array of numbers as value.

What do you use to build your app?. Please specify the version angular-cli@1.7.1 and angular-cli@1.6

Angular version: angular@5.2.6 and angular@5.1.0

ngx-chips version: 1.6.4

Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ] Chrome and Firefox

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Gbuompriscocommented, Feb 23, 2018

I suppose If the doc says you need to pass strings, the issue is on the user end rather than in the control. It’s really easy to fix on your side imho

1reaction
Gbuompriscocommented, Feb 23, 2018

Why not just map numbers to strings? 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Array with numbers 1-20 [duplicate] - Stack Overflow
Is there a way to create an array that automatically populates with sequential values between 1 and 20, or 1 and 1000 for...
Read more >
Array Basics
Array Basics. Definition. An array is an indexed collection of data elements of the same type. 1) Indexed means that the array elements...
Read more >
Array.prototype.values() - JavaScript - MDN Web Docs
The values() method returns a new array iterator object that iterates the value of each index in the array.
Read more >
Chapter 7: Arrays - cs.utsa.edu
An array is an object that stores many values of the same type. An array element is one value in an array. An...
Read more >
Arrays | Think Java - Interactive Textbooks hosted by Trinket
The first assignment makes count refer to an array of four integers. The second makes values refer to an array of double ,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found