From d287da07805a86a2a958172e25889ff3d625bee5 Mon Sep 17 00:00:00 2001 From: Hayleigh Thompson Date: Wed, 12 Jul 2023 00:05:18 +0100 Subject: :bug: Fixed bug where autocomplete attribute was a bool not a string. --- src/lustre/attribute.gleam | 4 ++-- 1 file 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) } /// -- cgit v1.2.3