Skip to content

Commit f1abfcd

Browse files
committed
fix(field-input-purpose): replace email address with proper placeholder
1 parent ee4d624 commit f1abfcd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

1st-gen/packages/field-label/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ import { FieldLabel } from '@spectrum-web-components/field-label';
2929
Field labels can be associated with form elements by using the `for` attribute, which should reference the `id` of the related input element.
3030

3131
```html demo
32-
<sp-field-label for="email">Email address</sp-field-label>
33-
<sp-textfield id="email" placeholder="[email protected]"></sp-textfield>
32+
<sp-field-label for="product-name">Product name</sp-field-label>
33+
<sp-textfield id="product-name" placeholder="Enter product name"></sp-textfield>
3434
```
3535

3636
Field labels can also be used to label a group of related inputs:

0 commit comments

Comments
 (0)