Update cgov-digital-platform/docroot/profiles/custom/cgov_site/themes/custom/ncids_trans/front-end/src/entrypoints/addl-cancer-types-landing-page/components/cgdp-find-a-cancer-type/cgdp-find-a-cancer-type.ts to handle an array instead of an HTMLCollection.
Specifically, instances of detail.selected.item(0).text should be changed to detail.selected[0].text
Issue description
This ticket is a placeholder for all NCIDS items being worked on right now targeting develop that would go into 3.2.0.
What needs to change?
cgov-digital-platform/docroot/profiles/custom/cgov_site/themes/custom/ncids_trans/front-end/src/entrypoints/addl-cancer-types-landing-page/components/cgdp-find-a-cancer-type/cgdp-find-a-cancer-type.ts
to handle an array instead of an HTMLCollection.detail.selected.item(0).text
should be changed todetail.selected[0].text