fix(inputs): disabled handling (#16071)

This commit is contained in:
Manu MA
2018-10-25 22:50:06 +02:00
committed by GitHub
parent 4d3ad67740
commit ef6895acbd
36 changed files with 319 additions and 230 deletions

View File

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