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

@ -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/)*

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