I have a problem wit my enum
I write enum with string and a browse my enum in *ngFor
But if my string have a space the page display me 2 element
this is my enum:
export enum ComponentCategory {
FormControls = <any> 'Form Controls',
Containers = <any> 'Containers' ,
Boxes = <any> 'Boxes',
DataPresentation = <any> 'DataPresentation',
Layout = <any> 'Layout',
Miscellaneous = <any> 'Miscellaneous',
}
And for exemple, FormControls is display twice like FormControls and Form Controls
Who can fix this ?
Thanks