File tree Expand file tree Collapse file tree 2 files changed +456
-451
lines changed
Expand file tree Collapse file tree 2 files changed +456
-451
lines changed Original file line number Diff line number Diff line change @@ -492,8 +492,10 @@ class StepInput extends UI5Element {
492492 }
493493
494494 _fireChangeEvent ( ) {
495- this . _previousValue = this . value ;
496- this . fireEvent ( "change" , { value : this . value } ) ;
495+ if ( this . _previousValue !== this . value ) {
496+ this . _previousValue = this . value ;
497+ this . fireEvent ( "change" , { value : this . value } ) ;
498+ }
497499 }
498500
499501 /**
@@ -543,6 +545,9 @@ class StepInput extends UI5Element {
543545 }
544546
545547 _onInputChange ( event ) {
548+ if ( this . input . value === "" ) {
549+ this . input . value = this . min || 0 ;
550+ }
546551 const inputValue = this . _preciseValue ( parseFloat ( this . input . value ) ) ;
547552 if ( this . value !== this . _previousValue || this . value !== inputValue ) {
548553 this . value = inputValue ;
You can’t perform that action at this time.
0 commit comments