From cc58f60002832c6f0b1de8fb0c39299c78700b58 Mon Sep 17 00:00:00 2001 From: Dan Kozlov Date: Sat, 29 May 2021 20:44:25 +0300 Subject: [PATCH] Add a note that bind:files is readonly (#6099) --- site/content/docs/02-template-syntax.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/content/docs/02-template-syntax.md b/site/content/docs/02-template-syntax.md index 7e904c5f1f..fb2e57d2af 100644 --- a/site/content/docs/02-template-syntax.md +++ b/site/content/docs/02-template-syntax.md @@ -585,7 +585,7 @@ Numeric input values are coerced; even though `input.value` is a string as far a --- -On `` 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 `` 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