Skip to content
Snippets Groups Projects
Commit 51c6ec0d authored by Daniel Cothran's avatar Daniel Cothran
Browse files

Issue #2926064 by alex_optim: Foreach error when editing style options

parent 78d6fcfd
No related branches found
No related tags found
No related merge requests found
...@@ -302,7 +302,13 @@ function charts_settings_form($form, $defaults = [], $field_options = [], $paren ...@@ -302,7 +302,13 @@ function charts_settings_form($form, $defaults = [], $field_options = [], $paren
$form['fields']['table'] = [ $form['fields']['table'] = [
'#type' => 'table', '#type' => 'table',
'#header' => [t('Field Name'), t('Provides Data'), t('Color')], '#header' => [t('Field Name'), t('Provides Data'), t('Color')],
'#tabledrag' => TRUE, '#tabledrag' => [
[
'action' => 'order',
'relationship' => 'sibling',
'group' => 'weight',
]
],
]; ];
$field_count = 0; $field_count = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment