Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Introduces NumberMinMaxFilterType and IntegerMinMaxFilterType #14320
To do after release of this:
$minMaxForm = $this->createForm(MinMaxType::class, , [ 'required' => true, 'min_field' => IntegerType::class, 'min_field_options' => [ 'help' => 'inner help message', ], 'max_field' => NumberType::class, ]);
maybe we should introduce two min max types, one for integer and one for float values (if it's needed)? I think it's better compared to having one generic min max type and having to define types when building the form.
@rokaszygmantas we have more then just two types:
but Im thinking right now that you might be right here - I thought about this as well.
Maybe we could have :
and we also have native type
anyway this is closely related to my second problem which is: