Pode.Web
Pode.Web copied to clipboard
Form fields name not showing if field is put in a grid cell
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