New-UDInput broken in 2.5 Version

Hi!

I’m playing with Forms. When using the sample form in Official Documentation, it does not show placeholders correctly.

 New-UDInput -Title "Simple Form" -Id "Form" -Content {
    New-UDInputField -Type 'textbox' -Name 'Email' -Placeholder 'Email Address'
    New-UDInputField -Type 'checkbox' -Name 'Newsletter' -Placeholder 'Sign up for newsletter'
    New-UDInputField -Type 'select' -Name 'FavoriteLanguage' -Placeholder 'Favorite Programming Language' -Values @("PowerShell", "Python", "C#")
    New-UDInputField -Type 'radioButtons' -Name 'FavoriteEditor' -Placeholder @("Visual Studio", "Visual Studio Code", "Notepad") -Values @("VS", "VSC", "NP")
    New-UDInputField -Type 'password' -Name 'password' -Placeholder 'Password'
    New-UDInputField -Type 'textarea' -Name 'notes' -Placeholder 'Additional Notes'
} -Endpoint {
    param($Email, $Newsletter, $FavoriteLanguage, $FavoriteEditor, $password, $notes)
}

Check out the screenshot for the radiobuttons area.

Thanks!

Hey @abarrozo did you log this as a bug on github yet? I’m getting the same issue with form radio buttons, and check boxes text all mis-aligned

@abarrozo

That’s definitely a bug.
I didn’t see any ticket related to this yet so I opened one

@psDevUK cc

The result
33%20AM

2 Likes