When step configuration value conflicts with max configuration value

1 posts, 0 answers
  1. Marty
    Marty avatar
    3 posts
    Member since:
    Sep 2011

    Posted 21 Feb 2012 Link to this post

    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.

Back to Top