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

nb-checkbox always dirty #367

Closed
1 of 2 tasks
nsankaranarayanan opened this issue Apr 15, 2018 · 0 comments · Fixed by #864
Closed
1 of 2 tasks

nb-checkbox always dirty #367

nsankaranarayanan opened this issue Apr 15, 2018 · 0 comments · Fixed by #864

Comments

@nsankaranarayanan
Copy link

nsankaranarayanan commented Apr 15, 2018

I'm submitting a ...

  • bug report
  • feature request

Issue description

I have a simple form that contains a text box, drop down, checkbox and text area.
For all the controls I am using the standard HTML controls except the checkbox where I am using an ng-checkbox. If I use the standard input type="checkbox" then the formatting is not coming out properly. To make the formatting work I am using the ng-checkbox.

Current behavior:
When I populate the form and set the ngModel values, all the controls dirty and touched are false except the ng-checkbox. If I change the ng-checkbox to input type=checkbox and try the same thing the dirty and touched are coming out as false.

I am using ngx-admin and nebular.

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

Successfully merging a pull request may close this issue.

3 participants