Unicode / Character References displaying in ng-option
See original GitHub issueExpected behaviour
Unicode / Character References are not displayed in ng-option
Actual behaviour
Unicode / Character Reference displaying in ng-option
More Info
ng-select version: 1,3.0 browser: Chrome Version 65.0.3325.181 (Official Build) (32-bit) reproducible in demo page: NO
<ng-select placeholder="Please select a Category" (change)="toggleCategories($event)"> <ng-option *ngFor="let i of cat_group" [value]="i.id" >{{ i.name }}</ng-option> </ng-select>
Results from console.log(this.cat_group);
{id: 6, name: “House & Home”, category_type: “XX”}
{id: 8, name: “Lifestyle & Tourism”, category_type: “YY”}
{id: 4, name: “cat & cat”, category_type: “ZZ”}
I was using checkboxes up to now, and moving to a dropdown list so trying out ng-select.
Any ideas?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:5
- Comments:8 (1 by maintainers)
Top Results From Across the Web
using unicode symbols in ngOption <select> - Stack Overflow
This all works fine as static data, but when I try to pull the data from my DB it displays it as regular...
Read more >UTS #18: Unicode Regular Expressions
Unicode is a large character set—regular expression engines that are only adapted to handle small character sets will not scale well.
Read more >Accessing the Unicode™ Character Set via HTML Decimal ...
Generating and Rendering Unicode™ Characters in Your Browser Through HTML Decimal References. A Primer on Unicode and the Generator. The Generator.
Read more >Unicode Symbol Reference - Microsoft
Unicode Symbol Reference. (with accented and Cyrillic characters). Microsoft Word: (1) cut and paste from here. (2) type the hexadecimal code and Alt-X....
Read more >Unicode HOWTO — Python 3.11.1 documentation
Applications are often internationalized to display messages and output in ... The Unicode standard describes how characters are represented by code points.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@ElangoAS This solution worked for me:
Any work around for the above issue? I have ng-select and I am iterating through items