当我为 a 设置最小值时KendoNumericTextBox,它会自动更改为最小值,而不是显示需要最小值的错误。如何改变行为?
var numericBox = $("#numeric_" + attrObj.AttributeId).data("kendoNumericTextBox");
numericBox.min(5);
numericBox.validationMessage = "Please enter value 5 and above";
所以当我3在上面输入例如numberBox,但它应该给出一个错误的说法"Please enter value 5 and above"。相反,该框的值更改为,5并且没有显示错误。
有什么办法可以改变这个吗?