Add a note that bind:files is readonly (#6099)

pull/6374/head
Dan Kozlov 4 years ago committed by GitHub
parent b1d09a4aa2
commit cc58f60002
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -585,7 +585,7 @@ Numeric input values are coerced; even though `input.value` is a string as far a
--- ---
On `<input>` elements with `type="file"`, you can use `bind:files` to get the [`FileList` of selected files](https://developer.mozilla.org/en-US/docs/Web/API/FileList). On `<input>` elements with `type="file"`, you can use `bind:files` to get the [`FileList` of selected files](https://developer.mozilla.org/en-US/docs/Web/API/FileList). It is readonly.
```sv ```sv
<label for="avatar">Upload a picture:</label> <label for="avatar">Upload a picture:</label>

Loading…
Cancel
Save