This is a migrated thread and some comments may be shown as answers.

When step configuration value conflicts with max configuration value

0 Answers 54 Views
NumericTextBox
This is a migrated thread and some comments may be shown as answers.
Marty
Top achievements
Rank 1
Marty asked on 21 Feb 2012, 06:54 PM

Given the following configuration:


$("#number").kendoNumericTextBox({
    format: "#",
    decimals: 0,
    min: 10,
    max: 25,
    step: 10
  });


Clicking the increment gives values of 10, 20, 25. I was expecting the input to honor the step value and allow a maximum value of 20. Would it make sense for the widget to honor the step value at all times? Or would it make sense to honor max value on manual input and step value on increment click?

Edit: Wow, do I feel stupid.   There is no "step" method for this widget.  I somehow left the step value in from my old widget configuration.  DOH!!   However, now that I realize that this widget does not have a step configuration option, it's unfortunate.  Also, I see no way to modify the min and max values after initialization. I'll go vote for those features in Kendo Voice.

No answers yet. Maybe you can help?

Tags
NumericTextBox
Asked by
Marty
Top achievements
Rank 1
Share this question
or