Relationship Graph

Relationship Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

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

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

        $scriptAttributes['scriptActivate']['options']= array(
            'y'=>gT('No'),
             'n'=>gT('Yes'),
        );

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 %

Relationships

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

Activities

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