minor changes

This commit is contained in:
2024-12-04 22:23:28 +01:00
parent e70c6db10f
commit 2123b5464f
22 changed files with 1045 additions and 27 deletions

View File

@ -0,0 +1,10 @@
import { Controller } from '@hotwired/stimulus';
export default class extends Controller {
connect() {
console.log(this.element);
this.element.querySelector('input').addEventListener('change', () => {
this.element.querySelector('button[type="submit"]').click();
});
}
}