Checkbox doesn't have "Check" Icon in it?
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?
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,
},
}))
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
Usage reference from antd. What is the meaning of "no icon"?
no icon
I meant there's no "check" within the checkbox, notice in the screenshot i've provided, it's just blue box there's suppose to be a white check
yes, we have no check shape. Are you interested in taking on this task with a pr?
@hustcc sure, in-fact I fixed it already, Giving a PR shortly have a look👇