From fc31d9a2ac9347c917821aa8615bc41b35eb9011 Mon Sep 17 00:00:00 2001 From: Hayleigh Thompson Date: Mon, 5 Sep 2022 06:02:13 +0100 Subject: :pencil: Fix typo: 'require' -> 'required'. --- src/lustre/attribute.gleam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/lustre/attribute.gleam b/src/lustre/attribute.gleam index 570088e..4dff602 100644 --- a/src/lustre/attribute.gleam +++ b/src/lustre/attribute.gleam @@ -137,7 +137,7 @@ pub fn readonly (is_readonly: Bool) -> Attribute(action) { } /// -pub fn require (is_required: Bool) -> Attribute(action) { +pub fn required (is_required: Bool) -> Attribute(action) { property("required", dynamic.from(is_required)) } -- cgit v1.2.3