ironmansoftware / powershell-universal

Issue tracker for PowerShell Universal
https://powershelluniversal.com
35 stars 2 forks source link

Stepper - Textbox - Minor Bugs when using Number Textbox Type with Minimum and Maximum parameters #3590

Open eizedev opened 3 weeks ago

eizedev commented 3 weeks ago

Version

4.3.4

Severity

Low

Environment

msi

Steps to Reproduce

Hi,

when using the code inside a step in the udstepper from the following example we found some minor bugs.

$TextboxParams =  @{
    Type = 'number';
    Placeholder = 4 ;
    Value = 4;
    Minimum = 1;
    Maximum = 64;
    HelperText = 'Number of CPU Sockets (1 Core per Socket)'; 
  }   

New-UDTextbox -Id 'textbox15' @TextboxParams

See video and screenshots below.

Thanks René

Expected behavior

Actual behavior

Additional Environment data

No response

Screenshots/Animations

https://github.com/user-attachments/assets/c382ea68-2844-41c3-b97e-04b6f56648c5

image image