Option select: With aria controls

A scrollable list of checkboxes to be displayed on a form where one might otherwise use a multi-select

How to call this component

<%= render partial: 'govuk_component/option_select', locals: { key: "with_aria-control_set", title: "List of options", aria_controls_id: "js-update-region-id", options_container_id: "list_of_countries", options: [ { value: "britain", label: "Britain", id: "britain" }, { value: "france", label: "France", id: "france" }, { value: "spain", label: "Spain", id: "spain" } ], option_select: null } %>

How this component looks

List of options