Skip to content

Commit 0fe1af0

Browse files
committed
Button: Repeat limitation for button content in label option's desc
Fixes #282
1 parent 249be37 commit 0fe1af0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

entries/button.xml

+4-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,10 @@
4949
<type name="Object" />
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 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.</desc>
52+
<desc>
53+
<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>
54+
<p>When using an input of type button, submit or reset, support is limited to plain text labels with no icons.</p>
55+
</desc>
5356
<type name="String" />
5457
</option>
5558
<option name="text" default="true" example-value="false">

0 commit comments

Comments
 (0)