Skip to content

Commit d50e8f2

Browse files
committed
fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! fixup! Introduce custom design of FileInputField (#244)
1 parent dd3d7c8 commit d50e8f2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/FileInputField/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,9 @@ It's possible to disable the whole input.
179179
## Handling Files
180180

181181
Files selected by the user can be handled by providing a custom function to the
182-
`onFilesChanged` prop.
182+
`onFilesChanged` prop. The `onFilesChanged` function is then called on the
183+
`change` event of the `input` element and on the `drop` event of the root
184+
`div` element.
183185

184186
```docoff-react-preview
185187
<FileInputField

0 commit comments

Comments
 (0)