title: Spinbox change values on keypress in qml
body: <p>Is it possible to automatically change the value of the spinbox on keypress instead of enter? The problem is the following, lets suppose we go to the input where we have the number one:
  <a href="https://i.stack.imgur.com/DUBD8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DUBD8.png" alt="enter image description here"></a></p>
  
  <p>And now i change it to number 10, but dont click on <code>enter</code>:</p>
  
  <p><a href="https://i.stack.imgur.com/WZ0RW.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WZ0RW.png" alt="enter image description here"></a></p>
  
  <p>Now i click on the plus sign and it goes to number two:</p>
  
  <p><a href="https://i.stack.imgur.com/ozmRn.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ozmRn.png" alt="enter image description here"></a></p>
  
  <p>How can this be changed in a way that when i loose focus, or click in the minus or plus sign of the spinbox in automatically takes in account the last digited number?</p>
  
  <p>This is what is happening with <code>QtQuick.Controls 2.0</code></p>
  
  <p>An example:</p>
  
  <pre><code>import QtQuick 2.9
  import QtQuick.Controls 2.0
  
  ApplicationWindow {
      id: window
      title: "Stack"
      visible: true
      height: 200
      width: 400
      Item {
          id: page
          anchors.fill: parent
          width:parent.width
          height: parent.height
              Column{
                  width:parent.width
                  spacing:10
                  SpinBox {
                      id: spinBox1
  
  
        width: 100
                  height: 30
                  stepSize: 1
                  editable: true
              }
          }
  }
  </code></pre>
  
  <p>}</p>