Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Set min and max value for spin box in QtQuick.Controls 2.0
I am using import QtQuick.Controls 2.0 in 5.7.1 Qt.
When I try to use a spinbox with this import, I get error for minimumValue, maximumValue etc.
Error: Cannot assign to non-existent property "minimumValue"
I don't get this error when I use import QtQuick.Controls 1.4 I want to use 2.0 for styling and customization. Any suggestions to get rid off this error?
You are using spinBox from Controls. This has properties called from and to. You can use them. spinBox from controls does not have minimum and max properties.
Thanks!! Is there a separate documentation for spinbox or other elements from controls? There is nothing mentioned here.
I got the documentation