refactor(picker): remove refresh key (#26340)

BREAKING CHANGE:

The `refresh` key has been removed from the `PickerColumn` interface. Developers should use the `columns` property to refresh the `ion-picker` view.
This commit is contained in:
Liam DeBeasi
2022-11-22 13:43:50 -05:00
committed by GitHub
parent 36cc5103bf
commit 0fbcc5b9a9
2 changed files with 5 additions and 6 deletions

View File

@ -21,6 +21,7 @@ This is a comprehensive list of the breaking changes introduced in the major ver
- [Input](#version-7x-input)
- [Modal](#version-7x-modal)
- [Overlays](#version-7x-overlays)
- [Picker](#version-7x-picker)
- [Radio Group](#version-7x-radio-group)
- [Range](#version-7x-range)
- [Searchbar](#version-7x-searchbar)
@ -110,6 +111,10 @@ This section details the desktop browser, JavaScript framework, and mobile platf
Ionic now listens on the `keydown` event instead of the `keyup` event when determining when to dismiss overlays via the "Escape" key. Any applications that were listening on `keyup` to suppress this behavior should listen on `keydown` instead.
<h4 id="version-7x-picker">Picker</h4>
- The `refresh` key has been removed from the `PickerColumn` interface. Developers should use the `columns` property to refresh the `ion-picker` view.
<h4 id="version-7x-radio-group">Radio Group</h4>
- `ionChange` is no longer emitted when the `value` of `ion-radio-group` is modified externally. `ionChange` is only emitted from user committed changes, such as clicking or tapping an `ion-radio` in the group.

View File

@ -37,12 +37,6 @@ export interface PickerColumn {
prefixWidth?: string;
suffixWidth?: string;
optionsWidth?: string;
/**
* @deprecated - Use the `columns` property on `ion-picker`
* to refresh the component view instead.
*/
refresh?: () => void;
}
export interface PickerColumnOption {