Pode.Web icon indicating copy to clipboard operation
Pode.Web copied to clipboard

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

Open ml222 opened this issue 1 year ago • 0 comments

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

ml222 avatar Sep 02 '24 12:09 ml222