Skip to content

Show a hidden container #658

@Clifra-Jones

Description

@Clifra-Jones

Question

New-PodeWebContainer has the -hide parameter but how do you show a hidden container.
I have this code.

New-PodeWebContainer -id 'logreport-container' -Hide  -Content @(...

And I am trying to show the container on a PodeWebEvent.

 New-PodeWebSelect -Name 'BatchId' -DisplayName 'Batch ID: ' -CssClass 'vertical-select' -CssStyle @{'Width' = '100px'}  -ScriptBlock {
...
                        } | Register-PodeWebEvent -type Change -ScriptBlock {

                            Show-PodeWebComponent -Id 'logreport-container'
...
}

The container never shows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    question ❔Further information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions