import { ApplicationController } from './application_controller';
export class BatchOperationController extends ApplicationController {
static targets = ['form', 'input', 'submit'];
declare readonly formTargets: HTMLFormElement[];
declare readonly submitTargets: HTMLInputElement[];
declare readonly inputTargets: HTMLInputElement[];
connect() {
this.formTargets.forEach((e) =>
e.addEventListener('submit', this.interceptFormSubmit.bind(this))
);
}
// DSFR recommends a or a form (not a