Skip to content

Empty notes text used as value #494

@cremetv

Description

@cremetv

Describe the bug
If no notes are specified for a plant yet the notes edit modal uses the placeholder text as value.
This forces users to delete the value before entering their own value.

To Reproduce
Steps to reproduce the behavior:

  1. Create a new plant
  2. Go to the plant overview
  3. Click on the edit notes icon
  4. Look at the textarea in the modal

Expected behavior
Placeholder text is not used as value.

Screenshots
Image

Software:

  • HortusFox version: 5.7
  • PHP Version: 8.3.0

Desktop (please complete the following information):

  • OS: macOS
  • Browser: Arc
  • Version: 1.130.1 (73666)

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions