-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
fix(checkbox, input, radio, slide-toggle): implement setDisabledState from ControlValueAccessor #1750
fix(checkbox, input, radio, slide-toggle): implement setDisabledState from ControlValueAccessor #1750
Conversation
Could you add a unit test for each component that sets |
8ee8c87
to
bfc9ff5
Compare
Added unit tests @jelbourn. |
LGTM |
@crisbeto can you rebase this PR? |
… from ControlValueAccessor Implements the `setDisabledState` method from the `ControlValueAccessor` interface in all of the input-related components, in order to support disabling via reactive forms. Note that the `select` component is missing the implementation, however there's a pending PR for it already (angular#1667). Fixes angular#1171.
bfc9ff5
to
9ed475b
Compare
Rebased @jelbourn. For some reason the entire |
@crisbeto Yeah that's because we changed the Line endings on the whole file. |
so how it fix? npm from master? thanks. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
Implements the
setDisabledState
method from theControlValueAccessor
interface in all of the input-related components, in order to support disabling via reactive forms. Note that theselect
component is missing the implementation, however there's a pending PR for it already (#1667).Fixes #1171.