make the selected items actually selected
This commit is contained in:
parent
5e9debc620
commit
9d5dda9fe2
|
@ -18,7 +18,7 @@ function PostDraggableListItem({ item, dragHandleProps, rows, setRows }: { item:
|
||||||
<div className={style.draggableListRow}>
|
<div className={style.draggableListRow}>
|
||||||
<span>
|
<span>
|
||||||
<label for={`row-list-${item.id}`} style={{ display: 'none' }}>Select</label>
|
<label for={`row-list-${item.id}`} style={{ display: 'none' }}>Select</label>
|
||||||
<input type='checkbox' id={`row-list-${item.id}`} onChange={onChange}/>
|
<input type='checkbox' id={`row-list-${item.id}`} checked onChange={onChange}/>
|
||||||
<GripVertical {...dragHandleProps} />
|
<GripVertical {...dragHandleProps} />
|
||||||
</span>
|
</span>
|
||||||
<Post className={style.posts} row={item} />
|
<Post className={style.posts} row={item} />
|
||||||
|
|
Loading…
Reference in New Issue