Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial state of "disabled" is ignored #16

Open
janmisek opened this issue Mar 22, 2016 · 1 comment
Open

Initial state of "disabled" is ignored #16

janmisek opened this issue Mar 22, 2016 · 1 comment

Comments

@janmisek
Copy link

When state is disabled initially slider does not disabled itself.

If disabled state computed property is changed later slider get disabled.

Tested on Ember 1.13.6 and ui-ember-slider 0.2.5.

@rhengeveld
Copy link

rhengeveld commented Jul 15, 2016

For those looking for a fix, here's mine (I only use range-slider).

import RangeSlider from 'ui-slider/components/range-slider';

export default RangeSlider.extend({

  init() {
    this._super();
    // Apply initial disabled state
    this._disabled.apply(this);
  }

});

hajjem-ayoub pushed a commit to hajjem-ayoub/ui-slider that referenced this issue Sep 30, 2016
yankeeinlondon added a commit that referenced this issue Oct 6, 2016
#16 Initial state of disabled is ignored
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants