Unable to load custom component to powershell universal when using UD v3

@adam

i have downloaded a module that was created before to test with PU and UD v3 and its not loading the custom component in the dashboard.

Module name UniversalDashboard.UDButtonLoader

using powershell 7 i have saved the module in ps7 modules folder.

dashboard code

New-UDDashboard -Title "hello" -Content {

Import-Module 'C:\Program Files\PowerShell\7-preview\Modules\UniversalDashboard.UDButtonLoader' -Force

New-UDElement -Tag 'h1' -Content {"hello"}

New-UDButtonLoader -Text test1 -onClick {}
          
} 

nothing show up in UD

if i change the code to following

New-UDDashboard -Title "hello" -Content {

Import-Module 'C:\Program Files\PowerShell\7-preview\Modules\UniversalDashboard.UDButtonLoader' -Force

New-UDElement -Tag 'h1' -Content {"hello"}

New-UDButton -Text test1 -onClick {}
          
}

the button will show cause its loading from v3 build in component.

I found this issue yesterday. It’s been resolved and should work in 1.1.1 which we will release Monday.