Simplify your stack and build anything. Or everything.
Build tomorrow’s web with a modern solution you truly own.
Code-based nature means you can build on top of it to power anything.
It’s time to take back your content infrastructure.

How to reuse "Loading" Modal from custom component ?

default discord avatar
florianmsftlast year
1

When clicking the save buttons in the Edit view, and it takes a while, we get a nice modal / overlay ("Loading..") until the process completes.



I'm building my custom component that includes a button, and on click may trigger a long running operation.



How can I reuse the Payload loading component, so that we maintain UX consistency ?

Star on GitHub

Star

Chat on Discord

Discord

online

Can't find what you're looking for?

Get dedicated engineering support directly from the Payload team..