Update StackMonkey.ps1
This commit is contained in:
@@ -552,12 +552,14 @@ function Build-Checkboxes {
|
||||
|
||||
if ($_.SubOptions) {
|
||||
# join inside the code block is fine
|
||||
$subHtml = $_.SubOptions |
|
||||
$subHtml = (
|
||||
$_.SubOptions |
|
||||
ForEach-Object {
|
||||
"<label style='margin-left:20px; display:block;'>
|
||||
<input type='checkbox' class='sub-option-$taskId' name='$($_.Value)' value='$($_.Value)'> $($_.Label)
|
||||
</label>"
|
||||
} -join "`n"
|
||||
}
|
||||
) -join "`n"
|
||||
|
||||
$html += @"
|
||||
<div id='${taskId}OptionsContainer' style='display:none; margin-top:4px;'>
|
||||
|
||||
Reference in New Issue
Block a user