Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: Allow empty string for New-PodeWebHidden -Value parameter #335

Closed
thekamilpro opened this issue Aug 23, 2022 · 0 comments
Closed

Bug: Allow empty string for New-PodeWebHidden -Value parameter #335

thekamilpro opened this issue Aug 23, 2022 · 0 comments
Labels
bug 🐛 Something isn't working
Milestone

Comments

@thekamilpro
Copy link
Contributor

Currently Value parameter is mandatory and either:

  • Fails to start web app if empty string is hardcoded
  • Crashes the web app if the value is a variable, which results in being an empty string.

I've had the problem with the latter, where certain information has been passed to the form, with some information being assigned to hidden value - when such information happens to be an empty string, the web app crashes.

@Badgerati Badgerati added the bug 🐛 Something isn't working label Aug 24, 2022
@Badgerati Badgerati added this to the 0.8.2 milestone Aug 28, 2022
@Badgerati Badgerati mentioned this issue Nov 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working
Projects
Status: Done
Development

No branches or pull requests

2 participants