mirror of
https://github.com/django/django.git
synced 2025-08-28 22:44:24 +00:00
Fixed #22383 -- Added support for HTML5 required attribute on required form fields.
This commit is contained in:
parent
4d1c229ee5
commit
ec6121693f
28 changed files with 849 additions and 659 deletions
|
@ -699,9 +699,9 @@ class TestSplitFormField(PostgreSQLTestCase):
|
|||
<tr>
|
||||
<th><label for="id_array_0">Array:</label></th>
|
||||
<td>
|
||||
<input id="id_array_0" name="array_0" type="text" />
|
||||
<input id="id_array_1" name="array_1" type="text" />
|
||||
<input id="id_array_2" name="array_2" type="text" />
|
||||
<input id="id_array_0" name="array_0" type="text" required />
|
||||
<input id="id_array_1" name="array_1" type="text" required />
|
||||
<input id="id_array_2" name="array_2" type="text" required />
|
||||
</td>
|
||||
</tr>
|
||||
''')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue