Skip to content
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

checkedLabel & uncheckedLabel doesn't work for version 1.6.1 in Angular4 #309

Closed
sumandeepkaur01 opened this issue Dec 19, 2018 · 5 comments

Comments

@sumandeepkaur01
Copy link

My application is on Angular 4 and I am using " ngx-ui-switch: 1.6.1".I can't use properties checkedLabel & uncheckedLabel in my code.Is it provided or not for this particular version ?

@cmckni3
Copy link
Collaborator

cmckni3 commented Dec 19, 2018

it's not available in 1.x. It's available in 6.1.0 and up.

Sorry about that. Will get a changelog going soon

@sumandeepkaur01
Copy link
Author

oops...that is a useful property, will be waiting for it. :)
Really appreciate the quick response.

@cmckni3
Copy link
Collaborator

cmckni3 commented Dec 19, 2018

no problem.

Do you need it for ng 4? 1.x is deprecated.

@sumandeepkaur01
Copy link
Author

Yeah..Our application is in angular 4 :(

@cmckni3
Copy link
Collaborator

cmckni3 commented Dec 19, 2018

hmm the latest versions of ngx-ui-switch have diverged quite a bit from 1.x.

Have you looked into updating to ng 5 at least? There's an issue with ng metadata so 1.x will not work with 5+ and vice versa.

I would consider upgrading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants