diff options
-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 51ef13b..6fa609f 100644 --- a/src/lustre/attribute.gleam +++ b/src/lustre/attribute.gleam @@ -143,7 +143,7 @@ pub fn required(is_required: Bool) -> Attribute(msg) { /// pub fn for(id: String) -> Attribute(msg) { - attribute("for", id) + attribute("htmlFor", id) } // INPUT RANGES ---------------------------------------------------------------- |