dossiers: fix autosave not ignoring file inputs
The dossier autosave is supposed to ignore file inputs (which are handled differently by ActiveStorage). Fix a typo in the CSS selector.
This commit is contained in:
parent
a78e4dc584
commit
b9fd844633
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ const autosaveController = new AutosaveController();
|
|||
// Whenever a 'change' event is triggered on one of the form inputs, try to autosave.
|
||||
|
||||
const formSelector = 'form#dossier-edit-form.autosave-enabled';
|
||||
const formInputsSelector = `${formSelector} input:not([type=input]), ${formSelector} select, ${formSelector} textarea`;
|
||||
const formInputsSelector = `${formSelector} input:not([type=file]), ${formSelector} select, ${formSelector} textarea`;
|
||||
|
||||
delegate(
|
||||
'change',
|
||||
|
|
Loading…
Reference in a new issue