Problem/Motivation

The following error is thrown when submitting the form of an entity with a custom field containing a Number (float) field with the minimum and/or maximum values set to 0.

Symfony\Component\Validator\Exception\MissingOptionsException: Either option "min", "minPropertyPath", "max" or "maxPropertyPath" must be given for constraint "Symfony\Component\Validator\Constraints\Range".

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

dieterholvoet created an issue. See original summary.

dieterholvoet’s picture

Status: Active » Needs review

apmsooner made their first commit to this issue’s fork.

apmsooner’s picture

Status: Needs review » Fixed

Merged. Thanks!

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

apmsooner’s picture

Status: Fixed » Closed (fixed)