mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
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:
@ -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.
|
||||
|
||||
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user