Hello,
i generated crud operations with the asp.net zero tool for an entity. The modal dialog is to small for creating and editing my entity. So i decided to create a new component and navigate with a routerLink to it. The navigation works, but the opened dropdown stays in the dom of the page until a complete pagereload is done.
<a [routerLink]="exampleRoute" [queryParams]="exampleParams">
Do Something
</a>
as a workaround i added this the function
closeDropdown(event) {
$(event.target).closest('.dropdown-menu').remove();
}
and changed the link to:
<a (click)="closeDropdown($event)" [routerLink]="exampleRoute" [queryParams]="exampleParams">
Do Something
</a>
is this a bug or am i missing something in the routerlink?
thank you
7 Answer(s)
-
0
Hi,
There was a problem like this but we have fixed it, see <a class="postlink" href="https://github.com/aspnetzero/aspnet-zero-core/issues/430">https://github.com/aspnetzero/aspnet-ze ... issues/430</a>. Could you check if you have this code block in your project ?
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
The link is broken
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
<cite>ChristianW: </cite> The link is broken
You need to be logged in to GitHub to be able to see the link.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
i am logged in
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Do i need to login to git with the same email address, as the account for this forum?
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
It seems like you only added your github user "mregenscheit". If you want to use another GitHub user, you can add it on "Github Users" tab of LicenseManagement page.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
thank you,
i e-mailed my development manager to add me to this list. when i have access i will have a look at the linked issue
best regards
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)