aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lustre/attribute.gleam2
1 files changed, 1 insertions, 1 deletions
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))
}