Skip to content

Possible to create negative quantity item using Edit menu. #1231

@nblyumberg

Description

@nblyumberg

First Check

  • This is not a feature request
  • I added a very descriptive title to this issue.
  • I used the GitHub search to find a similar issue and didn't find it.
  • I searched the documentation, with the integrated search.
  • I already read the docs and didn't find an answer.
  • I can replicate the issue inside the Demo install.

Homebox Version

v0.22.3

What is the issue you are experiencing?

When creating a new item, if you edit the item in advanced mode, it's possible to decrement the item count to be negative. This is correctly checked when decrementing with +/- on the item page, but not in the Advanced Ui:

Image

How can the maintainer reproduce the issue?

Create new item
Edit the item then either type in a negative value or use the up/down chevrons to decrease below 0.

Deployment

Docker (Synology)

Database Type

SQLite

OS Architechture

x86_64 (AMD, Intel)

Deployment Details

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    🕷️ bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions