task: #2171397 Move options_allowed_values() to a method

Closes #2171397

Merge request reports

Loading