mirror of
https://github.com/Steffo99/festa.git
synced 2024-12-22 14:44:21 +00:00
Accept only images as postcards
This commit is contained in:
parent
3c15bdb80f
commit
0610a0bb0c
1 changed files with 1 additions and 0 deletions
|
@ -80,6 +80,7 @@ export default function PageEventDetail({ initialEvent }: PageEventDetailProps)
|
|||
<EditableFilePicker
|
||||
onChange={(e: ChangeEvent<HTMLInputElement>) => setEvent({ ...event, postcard: URL.createObjectURL(e.target.files![0]) })}
|
||||
placeholder={t("eventDetailsPostcardPlaceholder")}
|
||||
accept={"image/*"}
|
||||
/>
|
||||
}
|
||||
description={
|
||||
|
|
Loading…
Reference in a new issue