aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarshall Bowers <elliott.codes@gmail.com>2024-02-01 12:35:24 -0500
committerGitHub <noreply@github.com>2024-02-01 17:35:24 +0000
commita91d6c49d81440d8ace1bb20d2eda4f656cb3bc1 (patch)
tree15db16f24b08e37a51285ad524839ef7511c4d7a
parente68be4621a154c1c3d533ab160b29cbb404e50fe (diff)
downloadlustre-a91d6c49d81440d8ace1bb20d2eda4f656cb3bc1.tar.gz
lustre-a91d6c49d81440d8ace1bb20d2eda4f656cb3bc1.zip
🔀 Fix `autofocus` property name (#43)
-rw-r--r--src/lustre/attribute.gleam2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lustre/attribute.gleam b/src/lustre/attribute.gleam
index 163ccf4..0ae289c 100644
--- a/src/lustre/attribute.gleam
+++ b/src/lustre/attribute.gleam
@@ -143,7 +143,7 @@ pub fn autocomplete(name: String) -> Attribute(msg) {
///
pub fn autofocus(should_autofocus: Bool) -> Attribute(msg) {
- property("autoFocus", should_autofocus)
+ property("autofocus", should_autofocus)
}
///