angularjs - How to display blank kendo numeric text box on page load and still allow a min value -
i have kendo numeric text-box min value set zero. don't want ability input negative numbers. problem initial value gets set 0 messes validation. there way have min 0 , still allow box blank on load? i've tried adding
value: " "
to nonegativenumericconfig, doesn't seem work.
html:
<input class="numeric-entry" kendo-numeric-text-box k-options="nonegativenumericconfig"
.js file:
$scope.nonegativenumericconfig = { spinners: false, decimals: 0, format: "#:n0", min: 0 };
probably need on widget initialization, like:
$scope.nonegativenumericconfig = { spinners: false, decimals: 0, format: "#:n0", min: 0, value:" " };
hope help
Comments
Post a Comment