diff options
author | Hayleigh Thompson <me@hayleigh.dev> | 2023-07-19 10:49:13 +0100 |
---|---|---|
committer | Hayleigh Thompson <me@hayleigh.dev> | 2023-07-19 10:49:13 +0100 |
commit | c8867aab178a8532d5269cb7189220e597df8a13 (patch) | |
tree | 58c6eb7fcfa2d4e0888c60b237ad4fca0164ae5e | |
parent | 0f09caaa54835ab8fd2adbb447064f0a313af785 (diff) | |
download | lustre-c8867aab178a8532d5269cb7189220e597df8a13.tar.gz lustre-c8867aab178a8532d5269cb7189220e597df8a13.zip |
:bug: Fixed a bug where the 'for' attribute still used the old react-style 'htmlFor' name.
-rw-r--r-- | src/lustre/attribute.gleam | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lustre/attribute.gleam b/src/lustre/attribute.gleam index 7716440..31e63ce 100644 --- a/src/lustre/attribute.gleam +++ b/src/lustre/attribute.gleam @@ -311,7 +311,7 @@ pub fn required(is_required: Bool) -> Attribute(msg) { /// pub fn for(id: String) -> Attribute(msg) { - attribute("htmlFor", id) + attribute("for", id) } // INPUT RANGES ---------------------------------------------------------------- |