Hello,
I am trying to set the min/max for the temperature picker. I got it to work using the code below, but want to make sure I am doing this correctly. Is there a better way?
`mobiscroll().temperature({
units: ['f'],
step: '.1',
responsive: {
small: {
display: 'bottom'
},
medium: {
display: 'bubble'
},
large: {
display: 'bubble'
}
},
onBeforeShow: function (event, inst) {
inst.settings.wheels[0][1].max = 104;
inst.settings.wheels[0][1].min = 96;
if (!inst.getVal()){
inst.setVal('98.6')
}
}
});`