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

[BUG] nz-checkbox directive will make lost host class #104

Closed
cipchk opened this issue Aug 20, 2017 · 2 comments · Fixed by #116
Closed

[BUG] nz-checkbox directive will make lost host class #104

cipchk opened this issue Aug 20, 2017 · 2 comments · Fixed by #116
Labels

Comments

@cipchk
Copy link
Member

cipchk commented Aug 20, 2017

I'm submitting a...


[x] Bug report  

Current behavior

the html code:

<label nz-checkbox class="d-block">
    <span>Checkbox</span>
</label>

fact dom rendering result:

<label class="ant-checkbox-wrapper" nz-checkbox="">
    <span class="ant-checkbox" ng-reflect-ng-class="[object Object]">
      <span class="ant-checkbox-inner" ng-reflect-ng-class="ant-checkbox-inner"></span>
      <input type="checkbox" class="ant-checkbox-input ng-untouched ng-pristine ng-valid" ng-reflect-ng-class="ant-checkbox-input" ng-reflect-model="false">
    </span>
    
                                    <span>Checkbox</span>
                                
  </label>

my .d-block class is gone.

@vthinkxie
Copy link
Member

confirm, fix next version.

@lock
Copy link

lock bot commented Feb 19, 2019

This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.

@lock lock bot locked as resolved and limited conversation to collaborators Feb 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants