bootstrap-input-spinner 3.3.1 → 3.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -160,9 +160,11 @@ export class InputSpinner {
|
|
|
160
160
|
this.$input.on("paste input change focusout", function (event) {
|
|
161
161
|
let newValue = self.$input[0].value
|
|
162
162
|
const focusOut = event.type === "focusout"
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
163
|
+
if(!self.props.buttonsOnly) {
|
|
164
|
+
newValue = self.$original[0].inputSpinnerEditor.parse(newValue)
|
|
165
|
+
setValue(newValue, focusOut)
|
|
166
|
+
dispatchEvent(self.$original, event.type)
|
|
167
|
+
}
|
|
166
168
|
if (self.props.keyboardStepping && focusOut) { // stop stepping
|
|
167
169
|
resetTimer()
|
|
168
170
|
}
|