Skip to content

Commit

Permalink
1.12 Upgrade Guide: Document menu subwidget markup changes
Browse files Browse the repository at this point in the history
Closes gh-160
  • Loading branch information
scottgonzalez committed Oct 12, 2016
1 parent ff23743 commit 4408cc0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions page/upgrade-guide/1.12.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,12 @@ This method was used by dialog, but because the dialog now has an [`appendTo` op

<p class="note">Unlike most deprecated APIs which only remain for one version before being removed, the `distance` and `delay` options for each interaction won't be removed until the respective rewrites are included in a new version. The only interaction rewrite that is currently planned to be released in 1.13.0 is draggable. As such, the `$.uiBackCompat` flag won't remove the options from the API.</p>

## Autocomplete

### Require wrappers for each autocomplete menu item

See the [changes in the menu widget](#require-wrappers-for-each-menu-item).

## Button

The button widget underwent a rewrite in this release. Most notably, support for inputs of type checkbox and radio has been extracted into a standalone [checkboxradio widget](//api.jqueryui.com/1.12/checkboxradio/), and support for groups of buttons has been extracted into a more generic [controlgroup widget](//api.jqueryui.com/1.12/controlgroup/). The remaining button widget also underwent some changes, simplifiying markup and options.
Expand Down Expand Up @@ -415,6 +421,10 @@ See [the notes for the mouse widget](#deprecated-distance-and-delay-options).

## Selectmenu

### Require wrappers for each selectmenu item

See the [changes in the menu widget](#require-wrappers-for-each-menu-item).

### Added `_renderButtonItem()` method

[(#10142)](https://bugs.jqueryui.com/ticket/10142) The [new extension method `._renderButtonItem()`](//api.jqueryui.com/1.12/selectmenu/#method-_renderButtonItem) makes customizations of how the selected item is rendered a lot easier.
Expand Down

0 comments on commit 4408cc0

Please sign in to comment.