Why constraints does not work in SmartField object?
oMyInput = new Input({
value: {
path: 'myValue',
type: 'sap.ui.model.type.Float',
constraints: {
maximum: 10,
minimum: 0
},
},
});
oMyInput2 = new SmartField({
value: {
path: 'myValue',
type: 'sap.ui.model.type.Float',
constraints: {
maximum: 10,
minimum: 0
},
},
});<br>
It works on oMyInput but not in oMyInput2