Skip to content

Commit

Permalink
Fix additionalAttributes example on guide
Browse files Browse the repository at this point in the history
  • Loading branch information
amitaibu authored Jul 20, 2023
1 parent 3835dd2 commit 7506f91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Guide/form.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 7506f91

Please sign in to comment.