Adding a notice that bind:files is readonly

pull/6099/head
Dan Kozlov 6 years ago committed by GitHub
parent ce3a579125
commit c61685bb12
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