Hello
Since my scripts that use with Invoke-PSUScript command sometimes takes a little bit longer than expected, i wanted to make some progress bar.
First I tried with showing progress bar inside New-UDBackdrop command or Show-UDToast but they do not show at all
Then I realized that Button has a -ShowLoading switch. It is ok but visibility of this spinning wheal is a little poor especially when you change color of button (in my case button is red)
Then i realized that it has also -LoadingIndicator switch which i probably can use to make a custom big spinning wheel on New-UDBackdrop
But it also shows nothing.
I searched google , forum and docs for example of this -LoadingIndicator option but there is none unfortunately.
So could some share a working example of this switch in Button. Button is a part of Modal if it has something to do with it.
I tried to do something similar. For me it worked this way with putting the Backdrop into UdModal. It seems this also works in UdListitem onlclick block.
I only made some tests, but I will try use this with more complex dashoards.
Welcome! I tried this in various places and worked well worked so far and I was able to do it a bit better. If we setup 0 width in Modal style it looks better.