Prevent adding multiple files to single attacment cells and fields

This commit is contained in:
Andrew Kingston 2024-11-06 12:56:08 +00:00
parent 00f145e8ce
commit 52d3126d60
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -249,7 +249,7 @@
id={fieldId}
{disabled}
type="file"
multiple
multiple={maximum !== 1}
accept={extensions}
bind:this={fileInput}
on:change={handleFile}