View Issue Details

This bug affects 1 person(s).
IDProjectCategoryView StatusLast Update
15776Feature requestsPluginspublic2020-01-25 22:07
ReporterDenisChenu Assigned To 
Status newResolutionopen 
Summary15776: Allow cleaner options system for options in question attributes

Whan develop question attribute and have options in 3.X
We can return an clean array

        $scriptAttributes['scriptActivate']['options']= array(

But now need

        $scriptAttributes['scriptActivate']['options']= array(
          'option'=> array(
            array('value'=>'y', 'text'=> gT'No')),
            array('value'=>'n', 'text'=> gT('Yes'),
Additional Information

I don't know when its fixed for core attribute,

But seems finally it send as options->option …

I think sendig it finally as

options = [
key => text

Is the best and most understandable system.

TagsNo tags attached.
Bug heat0
Story point estimate
Users affected %


related to 15224 closedp_teichmann Bug reports newQuestionAttributes deprecated : need a replacer 

Users monitoring this issue

There are no users monitoring this issue.


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2020-01-25 22:07 DenisChenu New Issue
2020-01-25 22:07 DenisChenu Relationship added related to 15224