Skip to content

Form fields name not showing if field is put in a grid cell #613

@ml222

Description

@ml222

Describe the Bug

Form fields like textboxes, selects, checkboxes etc, does not show their names next to the element if put inside a grid cell.

Steps To Reproduce

    New-PodeWebForm -Name 'Test' -SubmitText 'Apply' -ButtonType Submit, Reset -ResetText 'Reset' -ScriptBlock {
        Write-Host "Submitted"
    } -Content @(
        New-PodeWebGrid -Cells @(
            New-PodeWebCell -Content @(
                New-PodeWebCheckbox -Name Filter -AsSwitch
            )
        )
    )

Expected Behavior

The name of the checkbox should be shown.

Platform

  • OS: Windows
  • Browser: Edge
  • Versions:
    • Pode: 2.10.1
    • Pode.Web: 1.0.0
    • PowerShell: 5.1

Additional Context

Worked fine in 0.83

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🐛Something isn't working

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions