Removes redundant optional features textbox

Eliminates the read-only field and derives the features list directly from the checked items, producing a sorted semicolon string when collecting config. Avoids duplicated state, prevents desynchronization between UI elements, and yields deterministic ordering for persistence.
This commit is contained in:
rbalsleyMSFT
2025-08-19 18:40:09 -07:00
parent 0c373e6b2c
commit 9aed707a77
4 changed files with 4 additions and 9 deletions
@@ -608,7 +608,6 @@ function UpdateOptionalFeaturesString {
foreach ($entry in $State.Controls.featureCheckBoxes.GetEnumerator()) {
if ($entry.Value.IsChecked) { $checkedFeatures += $entry.Key }
}
$State.Controls.txtOptionalFeatures.Text = $checkedFeatures -join ";"
}
function BuildFeaturesGrid {
param (