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

Checkbox doesn't have "Check" Icon in it? #324

Open
TheStarkster opened this issue Aug 24, 2024 · 1 comment
Open

Checkbox doesn't have "Check" Icon in it? #324

TheStarkster opened this issue Aug 24, 2024 · 1 comment

Comments

@TheStarkster
Copy link

I was rendering checkbox component in my AntV S2 table and i see when the checkbox is checked, there's just color fill, but no icon in it, Is that normal? Or am i doing something wrong?

Screenshot 2024-08-24 at 2 11 32 PM
this.append(new Checkbox({
                style: {
                    boxX: this.meta.x + 10,
                    boxY: this.meta.y + 10,
                    checked: this.selectedRows?.includes(Number(this.meta.rowIndex)),
                    checkedX: this.meta.x + 10,
                    checkedY: this.meta.y + 10,
                },
            }))
@TheStarkster
Copy link
Author

On further investigation it seems no property starting with prefix "checked" are working checkedX, checkedY etc. but individual boolean property checked works fine as you can also see in the screenshot in the comment before

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

1 participant