Skip to content

Fixed textarea placeholder not displayed#619

Merged
vytisbulkevicius merged 2 commits into
developmentfrom
bugfix/618
Jun 2, 2026
Merged

Fixed textarea placeholder not displayed#619
vytisbulkevicius merged 2 commits into
developmentfrom
bugfix/618

Conversation

@girishpanchal30

Copy link
Copy Markdown
Contributor

Summary

Fixed textarea placeholder is not showing when the field is empty.

Check before Pull Request is ready:

Closes #618

@girishpanchal30 girishpanchal30 requested a review from Copilot May 25, 2026 10:29
@girishpanchal30 girishpanchal30 added the pr-checklist-skip Allow this Pull Request to skip checklist. label May 25, 2026
@pirate-bot pirate-bot added the pr-checklist-complete The Pull Request checklist is complete. (automatic label) label May 25, 2026
@pirate-bot

pirate-bot commented May 25, 2026

Copy link
Copy Markdown
Contributor

Tip

You can preview the changes in the Playground

Plugin build for eb7fff6 is ready 🛎️!

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

Fixes a frontend regression where the placeholder text for PPOM textarea inputs was not displayed when the field appeared “empty” (due to template whitespace inside the <textarea> element).

Changes:

  • Moves newline conversion (<br />\n) before rendering the textarea content.
  • Renders the textarea value inline to avoid emitting any whitespace/newlines when the value is empty (allowing the browser placeholder to show).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread templates/frontend/inputs/textarea.php
@vytisbulkevicius vytisbulkevicius merged commit 5004910 into development Jun 2, 2026
12 checks passed
@vytisbulkevicius vytisbulkevicius deleted the bugfix/618 branch June 2, 2026 10:50
@pirate-bot

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 34.0.2 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@pirate-bot pirate-bot added the released Indicate that an issue has been resolved and released in a particular version of the product. label Jun 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr-checklist-complete The Pull Request checklist is complete. (automatic label) pr-checklist-skip Allow this Pull Request to skip checklist. released Indicate that an issue has been resolved and released in a particular version of the product.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Textarea placeholder no longer displayed after update to v34.0.0

5 participants