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

Remove use of -NoNewLine, and fix JSON rendering #481

Merged
merged 2 commits into from
May 8, 2023
Merged

Conversation

Badgerati
Copy link
Owner

Description of the Change

Changes Out-String -NoNewLine in Update-PodeWebTextbox to work like New-PodeWebTextbox:

$items = ($items | Out-String).Trim()

Also fixes a JSON rendering issue; on a none-multiline textbox the JSON is rendering "inline" by default, and for a multiline textbox there's a new switch -JsonInline.

Related Issue

Resolves #476

@Badgerati Badgerati added this to the 1.0.0 milestone May 8, 2023
@Badgerati Badgerati self-assigned this May 8, 2023
@Badgerati Badgerati merged commit 4ce7b97 into develop May 8, 2023
@Badgerati Badgerati deleted the Issue-476 branch May 8, 2023 11:19
@Badgerati Badgerati added the bug 🐛 Something isn't working label May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update-PodeWebTextbox uses the PS7 only parameter -NoNewLine
1 participant