\n {_.map(options, (option, optionIndex) => {\n const isSelected = _.isEqual(value, option.value);\n\n return (\n
\n {dividerIndexes?.includes(optionIndex) && (\n \n
\n \n )}\n !option.disabled && selected(option)}\n key={'option-' + optionIndex}\n data-cy={\n !option.disabled\n ? 'Select_optionDiv'\n : 'Select_optionDisabledDiv'\n }\n >\n \n {option.label}\n \n {/* Checkmark, only display for selected option. */}\n \n \n \n
\n \n );\n })}\n
\n