Unverified Commit ca0f1da9 authored by mongolyy's avatar mongolyy Committed by GitHub

Update building-form sample code (#38437)

I found discrepancy between sample code and description.

## Documentation / Examples

- [x] Make sure the linting passes by running `pnpm lint`
- [x] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples)
parent ef905399
...@@ -135,7 +135,7 @@ The below example shows using the `pattern` attribute on an `input` element: ...@@ -135,7 +135,7 @@ The below example shows using the `pattern` attribute on an `input` element:
type="password" type="password"
id="pswrd" id="pswrd"
name="pswrd" name="pswrd"
pattern="[a-z]{0,9}" pattern="[a-z0-9]{1,15}"
title="Password should be digits (0 to 9) or alphabets (a to z)." title="Password should be digits (0 to 9) or alphabets (a to z)."
/> />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment