Open samselikoff opened 9 years ago
Agree completely. We should preserve the out of box default options for ion range slider. I would definitely accept the PR that addresses that.
@samselikoff Do you have any time to dig in, if not, I can start on a fix.
sure, go for it :) i was going to maybe offer an option to opt-in to the defaults, so if people upgrade they can opt-in to backwards compat.
Had the same issue. It's easy enough to work around but would be better not to, or at least to document somewhere that things like to_min / from_min etc should be set most of the time.
I just haven't had any time lately. PRs are always welcome. I am trying to find time to fix issues, add unit tests, etc -- emberobserver is giving me a 3/10 --- can't stand it.
I'll see what I can do but also swamped. To be fair, it's an awesome addon, and figuring out this stuff is not too hard. Maybe just updating the readme is enough?
The ion rangeslider lib itself documents default behavior when options aren't passed in, and I'd recommend preserving that behavior. The defaults in the mixin yield some surprising behavior. For example I rendered
but it didn't work, since
from_min
andto_min
are set to 10. Since the lib itself defaults these to the values ofmin
andmax
, this component should preserve that behavior.Thoughts? Would you accept a PR that does this?