-
Notifications
You must be signed in to change notification settings - Fork 198
Open
Labels
good first issueGood for newcomersGood for newcomershacktoberfestissue: enhancementIssue suggesting an enhancement to an existing featureIssue suggesting an enhancement to an existing featuresource: design-systemrelates to design-system packagerelates to design-system package
Description
A clear and concise description of what the feature is
I'd like to see loading state support for modals.
Why should this feature be included?
In the monorepo we have a growing number of modals which have to load data when they are being opened, or where data is validated async once a form within a modal is submitted.
In both cases the modal will be in a loading state.
Examples:
- BulkMoveDialog
- EditAssetDialog
- AssetDialog
- EditFolderDialog
- [Audit logs] Use real data in audit log modal strapi#15370
Note: all of these examples use slightly different patterns to display the Loader
Please provide an example for how this would work
DialogBodycould have anisLoadingprop which could render the loading state
MattieBelt
Metadata
Metadata
Assignees
Labels
good first issueGood for newcomersGood for newcomershacktoberfestissue: enhancementIssue suggesting an enhancement to an existing featureIssue suggesting an enhancement to an existing featuresource: design-systemrelates to design-system packagerelates to design-system package