mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-02 21:13:57 +00:00
fix sf4 deprecated: remove choices_as_values form option
This commit is contained in:
@@ -122,7 +122,6 @@ class CSVFormatter implements FormatterInterface
|
||||
range(1, $nbAggregators),
|
||||
range(1, $nbAggregators)
|
||||
),
|
||||
'choices_as_values' => true,
|
||||
'multiple' => false,
|
||||
'expanded' => false
|
||||
));
|
||||
@@ -132,7 +131,6 @@ class CSVFormatter implements FormatterInterface
|
||||
'row' => 'r',
|
||||
'column' => 'c'
|
||||
),
|
||||
'choices_as_values' => true,
|
||||
'multiple' => false,
|
||||
'expanded' => false
|
||||
));
|
||||
|
@@ -103,7 +103,6 @@ class CSVListFormatter implements FormatterInterface
|
||||
'expanded' => true,
|
||||
'multiple' => false,
|
||||
'label' => "Add a number on first column",
|
||||
'choices_as_values' => true,
|
||||
'data' => true
|
||||
));
|
||||
}
|
||||
|
@@ -102,7 +102,6 @@ class CSVPivotedListFormatter implements FormatterInterface
|
||||
'expanded' => true,
|
||||
'multiple' => false,
|
||||
'label' => "Add a number on first column",
|
||||
'choices_as_values' => true,
|
||||
'data' => true
|
||||
));
|
||||
}
|
||||
|
@@ -160,7 +160,6 @@ class SpreadSheetFormatter implements FormatterInterface
|
||||
'Microsoft Excel 2007-2013 XML (.xlsx) (Microsoft Excel, LibreOffice)' => 'xlsx',
|
||||
'Comma separated values (.csv)' => 'csv'
|
||||
),
|
||||
'choices_as_values' => true,
|
||||
'placeholder' => 'Choose the format'
|
||||
));
|
||||
|
||||
@@ -194,7 +193,6 @@ class SpreadSheetFormatter implements FormatterInterface
|
||||
range(1, $nbAggregators),
|
||||
range(1, $nbAggregators)
|
||||
),
|
||||
'choices_as_values' => true,
|
||||
'multiple' => false,
|
||||
'expanded' => false
|
||||
));
|
||||
|
@@ -99,7 +99,6 @@ class SpreadsheetListFormatter implements FormatterInterface
|
||||
'OpenDocument Format (.ods) (LibreOffice, ...)' => 'ods',
|
||||
'Microsoft Excel 2007-2013 XML (.xlsx) (Microsoft Excel, LibreOffice)' => 'xlsx'
|
||||
),
|
||||
'choices_as_values' => true,
|
||||
'placeholder' => 'Choose the format'
|
||||
))
|
||||
->add('numerotation', ChoiceType::class, array(
|
||||
@@ -110,7 +109,6 @@ class SpreadsheetListFormatter implements FormatterInterface
|
||||
'expanded' => true,
|
||||
'multiple' => false,
|
||||
'label' => "Add a number on first column",
|
||||
'choices_as_values' => true,
|
||||
'data' => true
|
||||
));
|
||||
}
|
||||
|
Reference in New Issue
Block a user