Skip to content

Commit

Permalink
fix(input): make sure isDisabled gets set to a boolean
Browse files Browse the repository at this point in the history
  • Loading branch information
brandyscarney committed Apr 18, 2017
1 parent 36e71c6 commit bfa2362
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/base-input.ts
Expand Up @@ -113,7 +113,7 @@ export class BaseInput<T> extends Ion implements CommonInput<T> {
* @hidden
*/
setDisabledState(isDisabled: boolean) {
this._disabled = isTrueProperty(isDisabled);
this._disabled = isDisabled = isTrueProperty(isDisabled);
this._item && this._item.setElementClass(`item-${this._componentName}-disabled`, isDisabled);
}

Expand Down

0 comments on commit bfa2362

Please sign in to comment.