Open lexiismadd opened 11 months ago
Could you provide an example invocation so I can better understand?
E.g.:
ls | ocgv -OutputMode Multiple Select @{ Index = 1; Index = 3 }
would select the 1st and 3rd file.
ls | ocgv -Select @{ Name = ".gitconfig" }
would select the first file named ".gitconfig".
Actually, both of those examples would work great. Also perhaps where an array of PSCustomObjects are passed to ocgv, passing another array with the PSCustomObjects that you want pre-selected in the list. But those two options you presented would be great!
Summary of the new feature / enhancement
Please add the ability to add "default" selections when using the Multiple OutputMode. By adding this, we could present the end user with the Gridview with already pre-selected options which they can then choose to deselect and/or select additional options from what are shown
Proposed technical implementation details (optional)
No response