Skip to content

Commit 4b338db

Browse files
committed
Button, Checkboxradio: Clarify that label is HTML
1 parent 798e9bb commit 4b338db

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

entries/button.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
</option>
5959
<option name="label" default="null" example-value='"custom label"'>
6060
<desc>
61-
<p>Text to show in the button. When not specified (<code>null</code>), the element's HTML content is used, or its <code>value</code> attribute if the element is an input element of type submit or reset, or the HTML content of the associated label element if the element is an input of type radio or checkbox.</p>
61+
<p>HTML to show in the button. When not specified (<code>null</code>), the element's HTML content is used, or its <code>value</code> attribute if the element is an input element of type submit or reset, or the HTML content of the associated label element if the element is an input of type radio or checkbox.</p>
6262
<p>When using an input of type button, submit or reset, support is limited to plain text labels.</p>
6363
</desc>
6464
<type name="String" />

entries/checkboxradio.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
<type name="Boolean" />
5050
</option>
5151
<option name="label" default="null" example-value='"custom label"'>
52-
<desc>Text to show in the button. When not specified (<code>null</code>), the HTML content of the associated <code>&lt;label&gt;</code> element is used.</desc>
52+
<desc>HTML to show in the button. When not specified (<code>null</code>), the HTML content of the associated <code>&lt;label&gt;</code> element is used.</desc>
5353
<type name="String" />
5454
</option>
5555
</options>

0 commit comments

Comments
 (0)