File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
src/bundle/Resources/public/ts/components/formControls Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,12 @@ export default class FormControlInputText extends Base {
82
82
}
83
83
}
84
84
85
+ initChildren ( ) {
86
+ this . _labelInstance ?. init ( ) ;
87
+ this . _inputTextInstance . init ( ) ;
88
+ this . _helperTextInstance ?. init ( ) ;
89
+ }
90
+
85
91
initInputListeners ( ) {
86
92
this . _inputTextInstance . inputElement . addEventListener ( 'input' , ( { currentTarget } ) => {
87
93
if ( ! ( currentTarget instanceof HTMLInputElement ) ) {
@@ -98,12 +104,7 @@ export default class FormControlInputText extends Base {
98
104
init ( ) {
99
105
super . init ( ) ;
100
106
101
- this . _labelInstance ?. init ( ) ;
102
- this . _inputTextInstance . init ( ) ;
103
- this . _helperTextInstance ?. init ( ) ;
104
-
107
+ this . initChildren ( ) ;
105
108
this . initInputListeners ( ) ;
106
- // this.initClearBtn();
107
- // this._updateInputPadding();
108
109
}
109
110
}
You can’t perform that action at this time.
0 commit comments