I am currently using ng2-select and I would like to put some html content in the component. I want to put routerLinks and href into my selected value.
A simple example of what I want to do exactly :
<a routerLink='/home'><b>Test</b></a> <br/> <i><small>Test</small></i>
The html content is correctly displayed, but when I click on the "Test" link, I do not get redirected to the expected route and stay in the current page (the Url does not change at all).
Yes, I put <router-outlet></router-outlet> and yes, the "/home" path exists.
So I would like to know if ng2-select handled, will handle or not at all this behaviour or if I am doing this wrong ?
Hello,
I am currently using ng2-select and I would like to put some html content in the component. I want to put routerLinks and href into my selected value.
A simple example of what I want to do exactly :
<a routerLink='/home'><b>Test</b></a> <br/> <i><small>Test</small></i>
The html content is correctly displayed, but when I click on the "Test" link, I do not get redirected to the expected route and stay in the current page (the Url does not change at all). Yes, I put
<router-outlet></router-outlet>
and yes, the "/home" path exists.So I would like to know if ng2-select handled, will handle or not at all this behaviour or if I am doing this wrong ?
Thank you in advance,