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:
@ -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