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 320 additions and 231 deletions

View File

@ -1,7 +1,7 @@
import { Component, ComponentInterface, Element, Event, EventEmitter, Listen, Method, Prop, State, Watch } from '@stencil/core';
import { ActionSheetButton, ActionSheetOptions, AlertOptions, CssClassMap, Mode, OverlaySelect, PopoverOptions, SelectInputChangeEvent, SelectInterface, SelectPopoverOption, StyleEvent } from '../../interface';
import { deferEvent, renderHiddenInput } from '../../utils/helpers';
import { renderHiddenInput } from '../../utils/helpers';
import { hostContext } from '../../utils/theme';
@Component({
@ -228,10 +228,7 @@ export class Select implements ComponentInterface {
this.value = this.multiple ? [] : undefined;
}
}
componentDidLoad() {
this.ionStyle = deferEvent(this.ionStyle);
const label = this.getLabel();
if (label) {
this.labelId = label.id = this.name + '-lbl';