Fixes inconsistency in the attribute splatting example (#13883)

pull/13897/head
pekspro 2019-08-18 13:24:56 +02:00 committed by Luke Latham
parent 3d289d3cef
commit fc20dde03f
1 changed files with 2 additions and 2 deletions

View File

@ -159,7 +159,7 @@ In the following example, the first `<input>` element (`id="useIndividualParams"
{
{ "maxlength", "10" },
{ "placeholder", "Input placeholder text" },
{ "required", "true" },
{ "required", "required" },
{ "size", "50" }
};
}
@ -179,7 +179,7 @@ The rendered `<input>` elements using both approaches is identical:
<input id="useAttributesDict"
maxlength="10"
placeholder="Input placeholder text"
required="true"
required="required"
size="50">
```