mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-16 01:52:19 +08:00
fix(inputs): disabled handling (#16071)
This commit is contained in:
@ -564,13 +564,13 @@ export class Radio {
|
||||
}
|
||||
|
||||
export declare interface RadioGroup extends StencilComponents<'IonRadioGroup'> {}
|
||||
@Component({ selector: 'ion-radio-group', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: '<ng-content></ng-content>', inputs: ['allowEmptySelection', 'name', 'disabled', 'value'] })
|
||||
@Component({ selector: 'ion-radio-group', changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, template: '<ng-content></ng-content>', inputs: ['allowEmptySelection', 'name', 'value'] })
|
||||
export class RadioGroup {
|
||||
ionChange: EventEmitter<CustomEvent>;
|
||||
|
||||
constructor(r: ElementRef) {
|
||||
const el = r.nativeElement;
|
||||
proxyInputs(this, el, ['allowEmptySelection', 'name', 'disabled', 'value']);
|
||||
proxyInputs(this, el, ['allowEmptySelection', 'name', 'value']);
|
||||
proxyOutputs(this, el, ['ionChange']);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user