Skip to content

Item Incrementing/Decrementing does not force a UI refresh resulting in a stale number #1209

@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

0.22.3

What is the issue you are experiencing?

The item quantity increment/decrement buttons increment the backend value correctly, but the frontend does not refresh showing a stale value until a page reload is done.

Image

Expected behavior is once you increment/decrement the quantity using the -/+ buttons the actual number is updated to reflect the new value.

This issue reproduced on Windows, Android and iPhone.

How can the maintainer reproduce the issue?

Create an item and set it's value to 5
Navigate to the item and try to increase or decrease the quantity using the -/+ buttons on the right. The value is not updated.
Reload the page to see the new number.

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