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

Entering in Textarea Copies Value Into Tag Fields #6690

Closed
leigeber opened this issue Jan 27, 2025 · 3 comments
Closed

Entering in Textarea Copies Value Into Tag Fields #6690

leigeber opened this issue Jan 27, 2025 · 3 comments
Labels
needs more info More information is required

Comments

@leigeber
Copy link

  • Laravel Version: 11.40.0
  • Nova Version: 5.1.7
  • PHP Version: 8.4.2
  • Database Driver & Version: PostgreSQL 16.4

Description:

5.1.0 introduced behavior that impacts pressing enter to create line breaks in a textarea.

In the setup below, if I enter within the description field the tag fields above expand with the value from the textarea copied into their inputs.

Image Image

Everything works as it should in 5.0.7.

Detailed steps to reproduce the issue on a fresh Nova installation:

Add a tag field adjacent to a textarea field and press enter when focused in the textarea.

@crynobone
Copy link
Member

CleanShot.2025-01-28.at.07.18.57.mp4

Unable to reproduce the issue, please provide full reproducing repository based on fresh installation as suggested in the bug report template (or you can refer to https://github.com/nova-issues for example)

@crynobone crynobone added the needs more info More information is required label Jan 27, 2025
@leigeber
Copy link
Author

@crynobone In the video I don't see you click into the description textarea and press enter to add a line break. Just making sure we're on the same page.

@crynobone
Copy link
Member

Just making sure we're on the same page.

Might be best for you to show a video describing the actual issue. 5.1.0 doesn't make any changes to TextareaField component.

@leigeber leigeber closed this as completed Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs more info More information is required
Projects
None yet
Development

No branches or pull requests

2 participants