Closed liamwhite closed 2 months ago
This moves all of the ujs events convenience library into TypeScript. There should be no substantial changes to the logic here, but two bugs were discovered during testing and fixed:
target
input
$$('[disabled][data-disable-with][data-enable-with]', target).forEach(input => { // ... input.innerHTML = target.dataset.enableWith; // ^^^^^^ input }
method: (target.dataset.method || target.method || 'POST').toUpperCase(),
This has 100% test coverage in unit tests and has also been manually integration tested.
This moves all of the ujs events convenience library into TypeScript. There should be no substantial changes to the logic here, but two bugs were discovered during testing and fixed:
target
whereinput
was intended.This has 100% test coverage in unit tests and has also been manually integration tested.