# PHP 8.1 & ConcreteCMS 9.1.3 - Attribute Option List Convenience Issue

**URL:** <https://forums.concretecms.org/t/php-8-1-concretecms-9-1-3-attribute-option-list-convenience-issue/4376>\
**Category:** Developing with Concrete\
**Created:** [November 4, 2022, 12:35pm UTC](https://forums.concretecms.org/t/php-8-1-concretecms-9-1-3-attribute-option-list-convenience-issue/4376 "2022-11-04T12:35:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mdius](https://forums.concretecms.org/user_avatar/forums.concretecms.org/mdius/32/5660_2.png) [@mdius](https://forums.concretecms.org/u/mdius)\
**Post date:** [November 4, 2022, 12:35pm UTC](https://forums.concretecms.org/t/php-8-1-concretecms-9-1-3-attribute-option-list-convenience-issue/4376/1 "2022-11-04T12:35:08Z")

</div>

If you make an attribute Option List and Select Options Multiple Values is checked it does not have the label built so you can click the words like ConcreteCMS 8 did.  
I fixed it by changing the following. I assume my fix would not work correctly in all cases.  
\concrete\attributes\select\form.php  
Line 20 was

```auto
<label class="form-check-label">
    <?=$opt->getSelectAttributeOptionDisplayValue()?>
</label>

```

Changed to

```auto
<?= $form->label($view->field('atSelectOptionValue') . '_' . $opt->getSelectAttributeOptionID(), $opt->getSelectAttributeOptionDisplayValue(), ['class' => 'form-check-label'])?>

```

---

<div class="post-metadata">

**Author:** ![mesuva](https://forums.concretecms.org/user_avatar/forums.concretecms.org/mesuva/32/6303_2.png) [@mesuva](https://forums.concretecms.org/u/mesuva)\
**Post date:** [November 5, 2022, 4:04pm UTC](https://forums.concretecms.org/t/php-8-1-concretecms-9-1-3-attribute-option-list-convenience-issue/4376/2 "2022-11-05T16:04:30Z")

</div>

I’ve got a PR request in github specifically to address this, probably will be merged before the next release: [Add missing for attribute to checkbox label of option list attribute by Mesuva · Pull Request #11024 · concretecms/concretecms · GitHub](https://github.com/concretecms/concretecms/pull/11024)
