The current PowerShell example works (with slight modification), but doesn't show you how to do anything useful with the UI like managing input. I've poured through the documentation and spent a couple hours trying to get anything nontrivial to work but to no avail. What I'd really like to see is an example even as simple as this one: #945 (comment) (which targeted v1). This illustrates both textbox and button event handling. Can anyone point me in the right direction?
P.S. Issues with the current examples:
- PowershellExample.ps1 - it's looking for net8.0 folder, when v2 is only targeting net10
- DatePicker.ps1:
InvalidOperation: DatePicker.ps1:39
Line |
39 | $accepted = [Prompt]::Show($app, "Select Date", $datePicker)
| ~~~~~~~~
| Unable to find type [Prompt].
The current PowerShell example works (with slight modification), but doesn't show you how to do anything useful with the UI like managing input. I've poured through the documentation and spent a couple hours trying to get anything nontrivial to work but to no avail. What I'd really like to see is an example even as simple as this one: #945 (comment) (which targeted v1). This illustrates both textbox and button event handling. Can anyone point me in the right direction?
P.S. Issues with the current examples: