mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
Fix invalid form control is not focusable error on gold fields (#1451)
This commit is contained in:
parent
7d1e70f66f
commit
605a23ab58
1 changed files with 0 additions and 1 deletions
|
|
@ -183,7 +183,6 @@ export default function DHApplicationMixin(Base) {
|
||||||
for (const deltaInput of htmlElement.querySelectorAll('input[data-allow-delta]')) {
|
for (const deltaInput of htmlElement.querySelectorAll('input[data-allow-delta]')) {
|
||||||
deltaInput.dataset.numValue = deltaInput.value;
|
deltaInput.dataset.numValue = deltaInput.value;
|
||||||
deltaInput.inputMode = 'numeric';
|
deltaInput.inputMode = 'numeric';
|
||||||
deltaInput.pattern = '^[+=\\-]?\d*';
|
|
||||||
|
|
||||||
const handleUpdate = (delta = 0) => {
|
const handleUpdate = (delta = 0) => {
|
||||||
const min = Number(deltaInput.min) || 0;
|
const min = Number(deltaInput.min) || 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue