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

-SelectedOptions for New-PodeWebCheckbox #621

Open
alpha-infotec opened this issue Sep 17, 2024 · 0 comments
Open

-SelectedOptions for New-PodeWebCheckbox #621

alpha-infotec opened this issue Sep 17, 2024 · 0 comments
Labels
enhancement ⬆️ New feature or request

Comments

@alpha-infotec
Copy link

alpha-infotec commented Sep 17, 2024

Describe the Change

Add ability to provide an array of values as -SelectedOptions to New-PodeWebCheckbox (that works with -AsSwitch) for pre-selection of values.

Additional Context

Similar could be accomplished with New-PodeWebSelect -Multiple, but not for Switches...
This is particularly helpful when providing a undefined amount of values that shall be rendered as switches

@alpha-infotec alpha-infotec added the enhancement ⬆️ New feature or request label Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement ⬆️ New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant