File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -66,12 +66,7 @@ export class CdkStep {
66
66
@ViewChild ( TemplateRef ) content : TemplateRef < any > ;
67
67
68
68
/** The top level abstract control of the step. */
69
- @Input ( )
70
- get stepControl ( ) { return this . _stepControl ; }
71
- set stepControl ( control : AbstractControl ) {
72
- this . _stepControl = control ;
73
- }
74
- private _stepControl : AbstractControl ;
69
+ @Input ( ) stepControl : AbstractControl ;
75
70
76
71
/** Whether user has seen the expanded step content or not . */
77
72
interacted = false ;
@@ -106,7 +101,7 @@ export class CdkStep {
106
101
private _customCompleted : boolean | null = null ;
107
102
108
103
private get _defaultCompleted ( ) {
109
- return this . _stepControl ? this . _stepControl . valid && this . interacted : this . interacted ;
104
+ return this . stepControl ? this . stepControl . valid && this . interacted : this . interacted ;
110
105
}
111
106
112
107
constructor ( private _stepper : CdkStepper ) { }
You can’t perform that action at this time.
0 commit comments