Skip to content

Commit

Permalink
fix: update form properties multiple model type
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdmlln committed Dec 2, 2024
1 parent 6e9ced1 commit 2ac4746
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<T3FileUpload
:disabled="loading"
:mime-types="formElement.properties?.allowedMimeTypes"
:multiple="formElement.properties?.multiple"
:multiple="!!formElement.properties?.multiple"
:name="formElement.name"
:placeholder="placeholder"
:required="required"
Expand Down
2 changes: 1 addition & 1 deletion src/runtime/models/typo3/content/data/form/formElement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export interface Validator {
export interface Properties {
allowedMimeTypes?: string[]
elementDescription?: string
multiple?: boolean
multiple?: true | ''
options?: { [key: string]: string }
placeholder?: string
prependOptionLabel?: string
Expand Down

0 comments on commit 2ac4746

Please sign in to comment.