I'm submitting a (check one):
[ ] Bug report
[ ] Feature request
[ ] Regression (something that used to work, but stopped working in a newer version)
[x ] Support request
[ ] Documentation issue or request
Prerequisites
Before posting, make sure you do the following (check all):
[x ] Confirm you are using the latest versions of all necessary packages (or if not, explain why not)
[ x] Search GitHub for a similar issue or PR
[ x] If submitting a Support request, also search [Stack Overflow][stack-overflow] for similar issues
Note: Please cross-post GitHub support requests to [Stack Overflow][stack-overflow], and include a link in your GitHub issue to your Stack Overflow question. We do currently respond to support requests on GitHub, but we eventually expect to stop, and will then refer all support questions exclusively to Stack Overflow.
Current behavior
Angular Material Checkbox cannot changes to MatSlideToggle. MaterialCheckboxComponent class have a conditional
Issue type
I'm submitting a (check one): [ ] Bug report [ ] Feature request [ ] Regression (something that used to work, but stopped working in a newer version) [x ] Support request [ ] Documentation issue or request
Prerequisites
Before posting, make sure you do the following (check all): [x ] Confirm you are using the latest versions of all necessary packages (or if not, explain why not) [ x] Search GitHub for a similar issue or PR [ x] If submitting a Support request, also search [Stack Overflow][stack-overflow] for similar issues Note: Please cross-post GitHub support requests to [Stack Overflow][stack-overflow], and include a link in your GitHub issue to your Stack Overflow question. We do currently respond to support requests on GitHub, but we eventually expect to stop, and will then refer all support questions exclusively to Stack Overflow.
Current behavior
Angular Material Checkbox cannot changes to MatSlideToggle. MaterialCheckboxComponent class have a conditional
<mat-slide-toggle *ngIf="!boundControl && showSlideToggle"
But how it works?
Expected behavior
Changes
<mat-checkbox>
to<mat-slide-toggle
Environment
OS name & version: Windows 10 Browser name & version: Google Chrome 74.0.3729.169 (Versão oficial) 64 bits Angular version: 7