Skip to content

Commit f136595

Browse files
scottgonzalezjzaefferer
authored andcommitted
Selectmenu: Document changes to width option
Closes gh-255
1 parent ddd4372 commit f136595

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

entries/selectmenu.xml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,10 @@
5252
<option name="position" type="Object" default='{ my: "left top", at: "left bottom", collision: "none" }' example-value='{ my : "left+10 center", at: "right center" }'>
5353
<desc>Identifies the position of the menu in relation to the associated button element. You can refer to the <a href="/position/">jQuery UI Position</a> utility for more details about the various options.</desc>
5454
</option>
55-
<option name="width" default="null" example-value="200">
56-
<desc>The width of the menu, in pixels. When the value is <code>null</code>, the width of the native select is used.</desc>
55+
<option name="width" default="false" example-value="200">
56+
<desc>The width of the menu, in pixels. When the value is <code>null</code>, the width of the native select is used. When the value is <code>false</code>, no inline style will be set for the width, allowing the width to be set in a stylesheet.</desc>
5757
<type name="Number" />
58+
<type name="Boolean" />
5859
</option>
5960
</options>
6061
<events>

0 commit comments

Comments
 (0)