Skip to content

Commit

Permalink
Merge pull request #1125 from betagouv/feat/add-more-document-format
Browse files Browse the repository at this point in the history
feat: add spectre formats to document upload
  • Loading branch information
wiwski authored Nov 8, 2024
2 parents 54c1e3a + 5ec9490 commit 638d7e9
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions lab/documents/assets/js/document-upload-form.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,27 @@ const ALLOWED_FILE_FORMATS = [
"spc",
"prf",
"tcn",
"il0",
"g20",
"g70",
"r135",
"r150",
"x0",
"x1",
"x10",
"x11",
"x12",
"x13",
"x2",
"x3",
"x4",
"x6",
"par",
"ini",
"csv",
"xlsx",
"xls",
"txt",
];

export const getFileInputCustomValidity = (files: File[] | null) => {
Expand Down

0 comments on commit 638d7e9

Please sign in to comment.