This repository was archived by the owner on Dec 26, 2025. It is now read-only.
Show a Modal using an object as modal parameters#583
Open
jlchavez wants to merge 6 commits intoBlazored:mainfrom
Open
Show a Modal using an object as modal parameters#583jlchavez wants to merge 6 commits intoBlazored:mainfrom
jlchavez wants to merge 6 commits intoBlazored:mainfrom
Conversation
pull updates
This allows to show a modal with a set of parameters from an anonymous object.
More friendly styles for the header of the modal dialog, which aligns the content on the vertical axis and any botton align to the right.
This allows the javascript to be located on a CDN or shared location for server caching and/or sharing between multiple apps, or that the path can be customized for the app automatically base on the BaseUri found in NavigationManager
Fix to package references for the previous commit.
Instead of fully customizing the title, allow to inject a RenderFragment in the title bar between the title and the close button, for faster customization and maintaining the same look & feel.
<ModalHeader>
<RefreshButton class="tool" OnClick="RefreshAsync" />
</ModalHeader>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This allows to show a modal with a set of parameters from an anonymous object.
ModalService.Show<LocationEdit>("Edit Business Location", new { Item!.Id })