Skip to content

Commit 6b62e19

Browse files
author
Mathieu De Keyzer
committed
mandatory_if functionnality
1 parent 750519e commit 6b62e19

File tree

11 files changed

+342
-331
lines changed

11 files changed

+342
-331
lines changed

Form/DataField/CheckboxFieldType.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@ public function buildOptionsForm(FormBuilderInterface $builder, array $options)
146146
// // String specific mapping options
147147
// $optionsForm->get ( 'mappingOptions' )->add ( 'analyzer', AnalyzerPickerType::class);
148148
$optionsForm->get ( 'restrictionOptions' )->remove ( 'mandatory' );
149+
$optionsForm->get ( 'restrictionOptions' )->remove ( 'mandatory_if' );
149150
}
150151

151152
}

0 commit comments

Comments
 (0)