Fixes inconsistency in the attribute splatting example (#13883)
parent
3d289d3cef
commit
fc20dde03f
|
@ -159,7 +159,7 @@ In the following example, the first `<input>` element (`id="useIndividualParams"
|
||||||
{
|
{
|
||||||
{ "maxlength", "10" },
|
{ "maxlength", "10" },
|
||||||
{ "placeholder", "Input placeholder text" },
|
{ "placeholder", "Input placeholder text" },
|
||||||
{ "required", "true" },
|
{ "required", "required" },
|
||||||
{ "size", "50" }
|
{ "size", "50" }
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@ -179,7 +179,7 @@ The rendered `<input>` elements using both approaches is identical:
|
||||||
<input id="useAttributesDict"
|
<input id="useAttributesDict"
|
||||||
maxlength="10"
|
maxlength="10"
|
||||||
placeholder="Input placeholder text"
|
placeholder="Input placeholder text"
|
||||||
required="true"
|
required="required"
|
||||||
size="50">
|
size="50">
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue