Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
roshaanbajwa committed Sep 29, 2023
1 parent f3e05b6 commit c80ab85
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/components/input/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -375,9 +375,8 @@ The input macro takes the following arguments:
| **pattern** | string | No | Attribute to [provide a regular expression pattern](https://www.w3.org/TR/html51/sec-forms.html#the-pattern-attribute), used to match allowed character combinations for the input value. |
| **spellcheck** | boolean | No | Optional field to enable or disable the spellcheck attribute on the input. |
| **attributes** | object | No | Any extra HTML attributes (for example data attributes) to add to the input component. |
| **prefix** | string | No | Optional value for the prefix. |
| **suffix** | string | No | Optional value for the suffix. |

| **prefix** | string | No | Optional value for the prefix. |
| **suffix** | string | No | Optional value for the suffix. |

If you are using Nunjucks macros in production be aware that using `html` arguments, or ones ending with `html` can be a [security risk](https://developer.mozilla.org/en-US/docs/Glossary/Cross-site_scripting). Read more about this in the [Nunjucks documentation](https://mozilla.github.io/nunjucks/api.html#user-defined-templates-warning).

Expand Down

0 comments on commit c80ab85

Please sign in to comment.