Mark Initial value of Checkbox Checked of a single row of a table.
I am using checkbox that can select only a single item from the table and now i have got the selected item ID from an Api in another component.
Now I want to show the table again but with checkbox marked checked OR
How can I mark a specific row checkbox checked while all other checkboxes unchecked.
I want to achieve result like this while mapping the data.
if item = banana mark checkbox checked

0 Replies