question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Checkbox] Improve docs on MatCheckboxClickAction

See original GitHub issue

Bug, feature request, or proposal:

Documentation Request

What is the expected behavior?

Clearer documentation on how to change the MatCheckboxClickAction of a checkbox

What is the current behavior?

The current documentation is unhelpful. It is unclear how to alter the default value of MatCheckboxClickAction. An example would be helpful. See Current Documentation

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:7
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

9reactions
simeylacommented, Nov 3, 2018

Why can’t this just be an option on the checkbox itself 😕

2reactions
hobojoecommented, Feb 4, 2018

I have implemented it by creating a new component.

Would like to know if it is the correct approach?

Here is an example: https://stackblitz.com/edit/angular-uew4l8

Could anyone assess it? Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

[Checkbox] Improve docs on MatCheckboxClickAction #8890
The current documentation is unhelpful. It is unclear how to alter the default value of MatCheckboxClickAction . An example would be helpful.
Read more >
Angular 5, Angular Material Checkbox with 3 states (checked ...
It would be simpler with only two options (active, inactive) but well, I have to make 3 states for it: 1st click -...
Read more >
Mat Checkbox Clickaction 2 - StackBlitz
Starter project for Angular apps that exports to the Angular CLI.
Read more >
The Checkbox component - Google Web Designer Help
The Checkbox component lets you add checkboxes to your project. ... To detect when the checkbox changes between being checked and unchecked, set...
Read more >
Checkbox | Angular Material
MatCheckboxClickAction. Checkbox click action when user click on input element. noop: Do not toggle checked or indeterminate. check: Only toggle checked status, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found