Fixes issue with mapping values during the transactions import (#1327)

* Adds custom debounce timeout to autosubmit form controller

- There's a default debounce timeout based on element type
- You can parameterize debounce timeout on a data-attribute

* Adds corrections based on js_lint

* Restores sleep on test

---------

Co-authored-by: Nicolás Galdámez <nicolas.galdamez@unagisoftware.com>
This commit is contained in:
Nico
2024-10-21 11:13:55 -03:00
committed by GitHub
parent 9b6a2cce56
commit 1b654faf9a
2 changed files with 24 additions and 3 deletions

View File

@@ -101,7 +101,7 @@ class ImportsTest < ApplicationSystemTestCase
within(form) do
select = form.find("select")
select "Depository", from: select["id"]
sleep 1
sleep 0.5
end
end