I am trying to implement slider functionality in my code. Although I predefined a max value for the slider, it still says that the slider has an infinite value
I have given the code below:
The error:
I would appreciate it if someone can tell me what is wrong in my code..
Thanks!