fix constraints
This commit is contained in:
parent
de8b00db98
commit
f7cc17ca30
|
@ -41,6 +41,10 @@ class ExpenseReportVariousPaymentType extends AbstractType
|
||||||
'row_attr' => [
|
'row_attr' => [
|
||||||
'class' => 'col-md-4 pr-1',
|
'class' => 'col-md-4 pr-1',
|
||||||
],
|
],
|
||||||
|
'attr' => [
|
||||||
|
'step' => 0.01,
|
||||||
|
],
|
||||||
|
'scale' => 2,
|
||||||
'constraints' => [
|
'constraints' => [
|
||||||
new NotBlank(),
|
new NotBlank(),
|
||||||
new Range(['min' => 0]),
|
new Range(['min' => 0]),
|
||||||
|
|
Loading…
Reference in a new issue