Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70612

Ionic/angular Input range bug (?)

$
0
0

@Imaginet wrote:

Hi,

I found that the range is not showing properly at startup / page load if I set the max value as binding from ng-model instead of number

work fine:

<input type="range" name="loadperyear_range" min="{{setup.loadperyear_min}}" max="500000" step="{{setup.loadperyear_step}}" ng-model="data.loadperyear" >

not working:

<input type="range" name="loadperyear_range" min="{{setup.loadperyear_min}}" max="{{setup.loadperyear_max}}" step="{{setup.loadperyear_step}}" ng-model="data.loadperyear" >

Here's a playground trying to explain the problem I'm facing : http://play.ionic.io/app/2f0bc4a5215f
use the + or - on the bottom range to see the problem clearly

any advice?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70612

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>