File tree Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Expand file tree Collapse file tree 1 file changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -771,8 +771,8 @@ class Input extends UI5Element {
771
771
} ) ;
772
772
}
773
773
774
- async _handleInput ( event ) {
775
- const inputDomRef = await this . getInputDOMRef ( ) ;
774
+ _handleInput ( event ) {
775
+ const inputDomRef = this . getInputDOMRefSync ( ) ;
776
776
const emptyValueFiredOnNumberInput = this . value && this . isTypeNumber && ! inputDomRef . value ;
777
777
778
778
this . suggestionSelectionCanceled = false ;
@@ -1021,6 +1021,14 @@ class Input extends UI5Element {
1021
1021
return this . nativeInput ;
1022
1022
}
1023
1023
1024
+ getInputDOMRefSync ( ) {
1025
+ if ( isPhone ( ) && this . Suggestions ) {
1026
+ return this . Suggestions && this . Suggestions . responsivePopover . querySelector ( ".ui5-input-inner-phone" ) ;
1027
+ }
1028
+
1029
+ return this . nativeInput ;
1030
+ }
1031
+
1024
1032
/**
1025
1033
* Returns a reference to the native input element
1026
1034
* @protected
You can’t perform that action at this time.
0 commit comments