From c61685bb1273c0e39493820e96138afd1b65d089 Mon Sep 17 00:00:00 2001 From: Dan Kozlov Date: Fri, 19 Mar 2021 14:12:41 +0300 Subject: [PATCH] Adding a notice that bind:files is readonly --- 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 2c665376dc..154524469d 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