Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TextBoxNoFormWidth #392

Merged
merged 1 commit into from
Feb 10, 2023
Merged

Conversation

ili101
Copy link
Contributor

@ili101 ili101 commented Dec 28, 2022

Fix Output with New-PodeWebTextbox -NoForm part of #390
Now it is possible to create wide New-PodeWebTextbox -NoForm

Before
image
After
image

    Add-PodeWebPage -Name Services -DisplayName 'Test' -Icon 'cogs' -ScriptBlock {
        New-PodeWebTextbox -Name 'Name1' -Multiline -DynamicLabel
        New-PodeWebTextbox -Name 'Name2' -Multiline -NoForm
        New-PodeWebTextbox -Name 'Name1' -Multiline -DynamicLabel -Width 50
        New-PodeWebTextbox -Name 'Name2' -Multiline -NoForm -Width 50
        New-PodeWebForm -Name 'Search' -Content @(
            New-PodeWebTextbox -Name 'Name'
        ) -ScriptBlock {
            Start-Sleep 3
            Out-PodeWebValidation -Name 'Name' -Message 'Username m"ust be 4+ chars'
        }
        New-PodeWebButton -Name 'Search' -Icon 'magnify' -ScriptBlock {
            Out-PodeWebTextbox -Value ''
        }
    }

Copy link
Owner

@Badgerati Badgerati left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@Badgerati Badgerati added this to the 0.8.3 milestone Feb 8, 2023
@Badgerati Badgerati merged commit bfef52e into Badgerati:develop Feb 10, 2023
@Badgerati Badgerati mentioned this pull request Feb 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants