Open CosticaPuntaru opened 10 years ago
from what i can tell the slider sets the model value as string not as number, this breaks ngModel for input[type='number'] example:
input[type='number']
<label for="min_price">Min: <input type="number" step="50" min="0" name="min_price" id="min_price" ng-model="min_price"></label> <label for="max_price">Max: <input type="number" step="50" min="0" name="max_price" id="max_price" ng-model="max_price"></label> <slider floor="0" ceiling="2000" step="50" ng-model-low="min_price" ng-model-high="max_price"></slider>
in the prev example the inputs appear as blank and dose not work at all
changing the line 194 to scope[ref] = parseFloat newValue fixes tjhe issue (from what i can tell)
194
scope[ref] = parseFloat newValue
from what i can tell the slider sets the model value as string not as number, this breaks ngModel for
input[type='number']
example:in the prev example the inputs appear as blank and dose not work at all