yuyang041060120 / angular2-ui-switch

angular2 ui switch component
http://yuyang041060120.github.io/angular2-ui-switch
MIT License
57 stars 36 forks source link

add setDisabledState from ControlValueAccessor #10

Closed IT-Ideas closed 4 years ago

IT-Ideas commented 7 years ago

Add setDisabledState implementation in order to be able to use: this.userForm.controls['uiSwitchControlName'].disable();

mpragliola commented 7 years ago

@yuyang041060120 please add this, it makes the component way more usable

IT-Ideas commented 4 years ago

Too long ago... Guess it will never be merged :)