Skip to content

Commit b0b9d70

Browse files
authored
omiting the maxlength in the name and adding option to disable selection in size
1 parent f3ce39a commit b0b9d70

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Form-Controls/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ <h1>Product Pick</h1>
2222
<span>Customer Name: </span>
2323
<strong><span aria-label="required">*</span></strong>
2424
</label>
25-
<input type="text" id="name" name="customer-name" required pattern="[A-Za-z\s\.]+" minlength="2" maxlength="40"/>
25+
<input type="text" id="name" name="customer-name" required pattern="[A-Za-z\s\.]+" minlength="2"/>
2626
</fieldset>
2727
<fieldset>
2828
<label for="email">
@@ -49,6 +49,7 @@ <h1>Product Pick</h1>
4949
<strong><span aria-label="required">*</span></strong>
5050
</label>
5151
<select id="size" name="size">
52+
<option value="" disabled selected>Select a size</option>
5253
<option value="xs">XS</option>
5354
<option value="s">S</option>
5455
<option value="m">M</option>

0 commit comments

Comments
 (0)