Hello,
I'm in a bit of a pickle.
The input box should only accept numbers and when it goes below 3, the value should change back to 3 on ng-blur (not on ng-change, meaning user can still type 1 and 2. It has to be like this because if I use ng-change, it restricts me type 1 or 2 hence, I cant type 10 or 20, etc.). Now, the slider and input box share the same ng-model (two way data binding) making the user to see what value of slider and vice versa. If a user type a number in the input box, the slider is adjusted provided the above condition meets.
Now, the issue I'm running into an issue, I'm not able to make the input box value value based on the slider.
Here is the example:
The condition should still meet keeping the slider restricted between 3 and 12. How can I achieve that? Any help is appreciated.
Regards,
Srikar