diff options
-rw-r--r-- | src/lustre/attribute.gleam | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lustre/attribute.gleam b/src/lustre/attribute.gleam index 898e543..771a546 100644 --- a/src/lustre/attribute.gleam +++ b/src/lustre/attribute.gleam @@ -105,8 +105,8 @@ pub fn msg(uri: String) -> Attribute(msg) { } /// -pub fn autocomplete(should_autocomplete: Bool) -> Attribute(msg) { - attribute("autocomplete", should_autocomplete) +pub fn autocomplete(name: String) -> Attribute(msg) { + attribute("autocomplete", name) } /// |