From 7506f913aad566d9da6115fbe5b8a62502a539cc Mon Sep 17 00:00:00 2001 From: Amitai Burstein Date: Thu, 20 Jul 2023 18:33:20 +0300 Subject: [PATCH] Fix `additionalAttributes` example on guide --- Guide/form.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Guide/form.markdown b/Guide/form.markdown index 5a89e8685..3bcf41d76 100644 --- a/Guide/form.markdown +++ b/Guide/form.markdown @@ -337,7 +337,7 @@ Customize it like this: {(textField #title) { additionalAttributes = [ ("onclick", "alert(1)") ] } } -- Add HTML5 'min' and 'max' attributes to a number input. -{(numberField #someval) { additionalAttributes = [ ("min", "1"), ("max", 100) ] } } +{(numberField #someval) { additionalAttributes = [ ("min", "1"), ("max", "100") ] } } ``` This will render like: