I am working on a project, I need to enter the number, and the slider for the script is here http://jsfiddle.net/Dt7Ka/116/
<h2>Slider Demo</h2> RAM: <input type="number" data-bind="value: ram, valueUpdate: 'afterkeydown', attr: {max: 8192, min: 512, step: 1}" /> <div style="margin: 10px" data-bind="slider: ram, sliderOptions: {min: 512, max: 8192, range: 'min', step: 1}"></div>
In the case when someone wants to enter the number manually (say, 2048), I found that the knockout overflows and does not allow me to enter 2048 correctly.
Suggestions?
source share