diff options
author | Hayleigh Thompson <me@hayleigh.dev> | 2023-07-12 00:05:18 +0100 |
---|---|---|
committer | Hayleigh Thompson <me@hayleigh.dev> | 2023-07-12 00:05:18 +0100 |
commit | d287da07805a86a2a958172e25889ff3d625bee5 (patch) | |
tree | ecf2785da9b6f5dbd0f4dd3d398c0131e33d4888 | |
parent | f350db196bcab490b8a6b67f9536f0b9b7322073 (diff) | |
download | lustre-d287da07805a86a2a958172e25889ff3d625bee5.tar.gz lustre-d287da07805a86a2a958172e25889ff3d625bee5.zip |
:bug: Fixed bug where autocomplete attribute was a bool not a string.
-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) } /// |