mirror of
https://github.com/ae-utbm/sith.git
synced 2026-06-13 11:39:25 +00:00
autofocus input on counter refill
This commit is contained in:
@@ -176,7 +176,11 @@
|
||||
</form>
|
||||
</div>
|
||||
</details>
|
||||
<details class="accordion" name="selling">
|
||||
<details
|
||||
class="accordion"
|
||||
name="selling"
|
||||
@toggle="if ($event.newState === 'open') $el.querySelector('input[type=number]')?.focus()"
|
||||
>
|
||||
<summary>{% trans %}Refilling{% endtrans %}</summary>
|
||||
{% if object.type == "BAR" %}
|
||||
{% if refilling_fragment %}
|
||||
|
||||
Reference in New Issue
Block a user