mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
replace 'hideLabel' form option by 'fullWidth'
sometimes we want fullWidth and display label
This commit is contained in:
@@ -59,7 +59,7 @@ class CommentType extends AbstractType
|
||||
$view->vars = array_replace(
|
||||
$view->vars,
|
||||
[
|
||||
'hideLabel' => true,
|
||||
'fullWidth' => true,
|
||||
]
|
||||
);
|
||||
}
|
||||
|
@@ -46,7 +46,7 @@ class PrivateCommentType extends AbstractType
|
||||
|
||||
public function buildView(FormView $view, FormInterface $form, array $options)
|
||||
{
|
||||
$view->vars['hideLabel'] = true;
|
||||
$view->vars['fullWidth'] = true;
|
||||
}
|
||||
|
||||
public function configureOptions(OptionsResolver $resolver)
|
||||
|
@@ -108,7 +108,7 @@ class ScopePickerType extends AbstractType
|
||||
$view->vars = array_replace(
|
||||
$view->vars,
|
||||
[
|
||||
'hideLabel' => true,
|
||||
'fullWidth' => true,
|
||||
]
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user