components icon indicating copy to clipboard operation
components copied to clipboard

docs-bug(checkbox): Documentation use "MAT_CHECKBOX_CLICK_ACTION" without notification of deprecation. When MAT_CHECKBOX_DEFAULT_OPTIONS should be used. Errors in v11.

Open Eddygn opened this issue 6 years ago • 3 comments

The checkbox documentation page has a section about the usage of "MAT_CHECKBOX_CLICK_ACTION" to define the behavior on clicks. It didn't provide any indication that this method is deprecated, nor that it was replaced with {provide: MAT_CHECKBOX_DEFAULT_OPTIONS, useValue: { clickAction: 'noop' } as MatCheckboxDefaultOptions }

Running a project after upgrading the Angular and Material package will produce an error.

Migration didn't touch this. I don't know if it was updated in earlier migration, since I've only added the provider a week ago, into v10 project. (no notice of deprecation anywhere I saw)

Affected documentation page: https://material.angular.io/components/checkbox/overview

Eddygn avatar Nov 12 '20 07:11 Eddygn

waiting solution :( i had same issue

lxandrexl avatar Nov 13 '20 23:11 lxandrexl

Hi....can I take this...as this will be my first attempt to contribute. thanks

adhispace avatar Dec 05 '20 17:12 adhispace

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.