Ion-range in alert


#1

Hi!

I have an alert with a range input. But it looks aweful. How can i make it look like an ion-range input and use an ngModel to live update the values while dragging?

inputs: [
{
name: ‘myrange’,
min: 20,
type: ‘range’,
max: 5000
}


#2

Try:

alert.addInput(
{
name: ‘myrange’,
min: 20,
type: ‘range’,
max: 5000
});

It is basically the same as yours but it somehow looked different! When I removed this to use what you have, your version started working properly