Skip to content
Snippets Groups Projects
Commit 13843f85 authored by Jacky (trj)'s avatar Jacky (trj) Committed by Pierre Masereel
Browse files

[IMP]: point_of_sale UI: `NumberPopup` and `NumberBuffer` can pre-select input...

[IMP]: point_of_sale UI: `NumberPopup` and `NumberBuffer` can pre-select input which will change the value upon triggering a key

The user doesn't need to delete the current input before changing it. He can now write
hiw new value which will erase the current one.
The guest popup from the `pos_restaurant` module and the global discount popup from the
`pos_discount` module benefit from this and have their input pre-selected.

Before: when opening the guest or discount popup, the user always has to delete the curent
value before changing it. Let's say that the current value was `5`, the user needs to either
press the `Delete` or `Backspace` button/key before entering his new value.

After: the user doesn't need to press the `Delete` or `Backspace` button/key and can now directly
enter his new value

Task ID: 2419637
parent 46789fb7
No related branches found
No related tags found
Loading
Showing with 58 additions and 3 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment