Populate fields when clicking a stimulus list item.