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

check-box content slot doesn't work #74

Closed
vhxubo opened this issue Jan 4, 2022 · 2 comments · Fixed by #95
Closed

check-box content slot doesn't work #74

vhxubo opened this issue Jan 4, 2022 · 2 comments · Fixed by #95

Comments

@vhxubo
Copy link
Contributor

vhxubo commented Jan 4, 2022

Describe Framework

tdesign-miniprogram

Describe Environment

any

Describe the bug
check-box slot="content" doesn't work.

<t-checkbox>
    <!-- doesn't work -->
    <view slot="content">
    </view>

    <!-- work -->
    <view></view>
</t-checkbox>

Additional context

| content | String / Slot | - | 复选框内容 | N |

<view
class="{{classPrefix}}__description t-class-content "
style="-webkit-line-clamp:{{maxContentRow}}"
>
{{content}}
<slot />
</view>

@LeeJim
Copy link
Collaborator

LeeJim commented Jan 5, 2022

let me check

@LeeJim
Copy link
Collaborator

LeeJim commented Jan 5, 2022

@amberlwan 麻烦跟进一下咯

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

Successfully merging a pull request may close this issue.

2 participants