Skip to content

Show a hidden container #658

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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