mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-10 00:27:41 +08:00
fix(inputs): disabled handling (#16071)
This commit is contained in:
@ -15,14 +15,6 @@ SelectOption is a component that is a child element of Select. For more informat
|
||||
| `value` | -- | The text value of the option. | `any` |
|
||||
|
||||
|
||||
## Events
|
||||
|
||||
| Event | Detail | Description |
|
||||
| -------------------------- | ------ | --------------------------------------- |
|
||||
| `ionSelectOptionDidLoad` | | Emitted when the select option loads. |
|
||||
| `ionSelectOptionDidUnload` | | Emitted when the select option unloads. |
|
||||
|
||||
|
||||
----------------------------------------------
|
||||
|
||||
*Built with [StencilJS](https://stenciljs.com/)*
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import { Component, ComponentInterface, Element, Event, EventEmitter, Prop } from '@stencil/core';
|
||||
|
||||
@Component({
|
||||
tag: 'ion-select-option'
|
||||
tag: 'ion-select-option',
|
||||
})
|
||||
export class SelectOption implements ComponentInterface {
|
||||
|
||||
@ -22,15 +22,17 @@ export class SelectOption implements ComponentInterface {
|
||||
/**
|
||||
* The text value of the option.
|
||||
*/
|
||||
@Prop({ mutable: true }) value?: any;
|
||||
@Prop({ mutable: true }) value?: any | null;
|
||||
|
||||
/**
|
||||
* Emitted when the select option loads.
|
||||
* @internal
|
||||
*/
|
||||
@Event() ionSelectOptionDidLoad!: EventEmitter<void>;
|
||||
|
||||
/**
|
||||
* Emitted when the select option unloads.
|
||||
* @internal
|
||||
*/
|
||||
@Event() ionSelectOptionDidUnload!: EventEmitter<void>;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user